Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread DvDmanDT
Oh.. I'm personally trying to avoid not top-posting, cause I think it's nicer when ppl place the message at the top where I can read it instantly without scrolling down.. :s So why bottompost? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if

Re: [PHP] Cross Site Scripting (and SQL Injection)

2003-11-07 Thread John W. Holmes
Shaun wrote: Is there a way to filter metacharacters from all $_POST values sent from pages on my site in an effort to eliminate the majority of XSS attacks? There's no magic function that's going to protect you from Cross Site Scripting or SQL Injection. Do you honestly even know what they are o

Re: [PHP] How can i run DOS command from browser

2003-11-07 Thread John W. Holmes
imran wrote: Any one know that how can me run a script from command line after receving the input from FORM thru browser Assuming your talking about running a program on the server, take a look at exec(). If you're wanting to run something on the user's computer, ummm, no. -- ---John Holm

Re: [PHP] [Stats] PHP Net List: October 2003

2003-11-07 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Probably because nobody wants to risk offending John--or (more likely) > because no one will admit knowing who the "other" John Holmes is ;-) > > Cheers, > > > Marco > > -- > > php|architect - The Magazine for

[PHP] Re: mysql_field_type() ...

2003-11-07 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > ...will say if a field is of type "ENUM", but not its possible values > (including default). Does anyone know how I can fetch possible values > of a field type of ENUM? > > Thanks. > > ...Rene > Try this little function which I use a

[PHP] Re: trouble with forcing output to be cached

2003-11-07 Thread pete M
This posting has made me think.. Problem is server side because the script executes to create the image and the script runs every time.. Try writing out the image to a file and then send that to the browser >>psuedo code if image NOT exists create it write to file embed file pete Ilja Polivanov

[PHP] Re: How can i run DOS command from browser

2003-11-07 Thread pete M
from the manual '; // Outputs all the result of shellcommand "ls", and returns // the last output line into $last_line. Stores the return value // of the shell command in $retval. $last_line = system('ls', $retval); // Printing additional info echo ' Last line of the output: '.$last_line.' Return

RE: [PHP] How to support Multi Lingual characters

2003-11-07 Thread umesh
Please refer the follow. URL. (B (Bhttp://www.php.net/manual/en/ref.mbstring.php (B (B-Original Message- (BFrom: K. Praveen Kumar [mailto:[EMAIL PROTECTED] (BSent: Friday, November 07, 2003 4:39 PM (BTo: umesh (BCc: [EMAIL PROTECTED] (BSubject: RE: [PHP] How to support Multi Lingua

RE: [PHP] How to support Multi Lingual characters

2003-11-07 Thread umesh
(BDear Praveen, (B (BYes, you can do it very easily, first of all, please see if you have (Bcompiled PHP with multibyte support, (Bif not you will have to recompile the PHP with follow. options (B--enable-mbstring=all or --enable-mbstring ( will enable only Japanese (Blanguage support) (B

RE: [PHP] Source code

2003-11-07 Thread PHPLover
Dear Chris, Thanks for the response. 1. What I want is to view the files offline. Is there any thing like Anonymous FTP or a zipped version of the entire site? 2. How can I see the php version of the documentation. I didn’t find the php version any where in the documentation. Thanks & Regards,

Re: [PHP] SQL Injections

2003-11-07 Thread Marek Kilimajer
If you delete all reserved words from a string then this sentence would become: you reserved words a this sentence would become :) You want to ensure the incoming variables are not INTERPRETED as sql. Properly escape and quote the input. Shaun wrote: Hi, does anyone know of a function i can

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Eugene Lee
On Fri, Nov 07, 2003 at 01:55:45PM +0300, Burhan Khalid wrote: : : Pablo Gosse wrote: : > : >What is it meant to "top post"? I've mainly been a lurker in forums : >such as phpbuilder and devshed until recently, but this list is : >proving to be a much better resource than those two. : : Top post

RE: [PHP] How to support Multi Lingual characters

2003-11-07 Thread K. Praveen Kumar
Dear Umesh, Thanks for your quick reply. Let me explain the scenario: We have an application in English. The data will be stored in MySQL database. If some body enter the data using Japanese keyboard (Japanese language) that will be stored in Japanese language only and should display in the sa

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Burhan Khalid
Pablo Gosse wrote: Hi Burhan. I have a quick question about what you write below that I don't want to post to the whole list? What is it meant to "top post"? I've mainly been a lurker in forums such as phpbuilder and devshed until recently, but this list is proving to be a much better resource t

RE: [PHP] How to support Multi Lingual characters

2003-11-07 Thread umesh
(Byes, though compile PHP with japanese support, you can accept input in (BEnglish as well. (B (BUmesh. (B (B-Original Message- (BFrom: K. Praveen Kumar [mailto:[EMAIL PROTECTED] (BSent: Friday, November 07, 2003 4:16 PM (BTo: [EMAIL PROTECTED]; Praveen Kumar (BSubject: [PHP] How

[PHP] How to support Multi Lingual characters

2003-11-07 Thread K. Praveen Kumar
Dear List, I would like to support Multi lingual characters using PHP in my application. How can I support? Does PHP automatically supports this feature. Please let me know. I will be really waiting for your suggestions -- Thanks & Regards Praveen Kumar SoftPro Systems Ltd -- PHP Gener

Re: [PHP] SQL Injections

2003-11-07 Thread Eugene Lee
On Fri, Nov 07, 2003 at 09:43:20AM -, Shaun wrote: : : does anyone know of a function i can include in my scrpits to ensure all : $_POST values sent from a page don't include any SQL? If you're using MySQL, look at mysql_escape_string(). -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] SQL Injections

2003-11-07 Thread Burhan Khalid
Shaun wrote: Hi, does anyone know of a function i can include in my scrpits to ensure all $_POST values sent from a page don't include any SQL? preg_match_all() -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com --- "Documentation is like sex: when it is good

Re: [PHP] Cross Site Scripting

2003-11-07 Thread Burhan Khalid
Shaun wrote: Hi, Is there a way to filter metacharacters from all $_POST values sent from pages on my site in an effort to eliminate the majority of XSS attacks? htmlentities() preg_match_all() -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com --- "Documentat

RE: [PHP] passing random variables names

2003-11-07 Thread Ford, Mike [LSS]
On 07 November 2003 08:41, Yonatan Ben-Nes wrote: > Hi all, > > I made a form which pass constant variables which never > change (Ex. product_name) and dynamic variables which i > withdraw from the db (Ex. attribute_id = 1, value = color). > Now my problem is with the passing of the dynamic varia

[PHP] PHP Conf 2004 Sofia, Bulgaria

2003-11-07 Thread Mr. Bogomil Shopov
The first Web Technology conference in Bulgaria will be held in March 2004 at the city of Sofia. Within its framework, the first PHP conference will be held. The purpose of this meeting is to discuss the new tendencies in this direction and to popularize the Internet technologies in the spheres

[PHP] How can i run DOS command from browser

2003-11-07 Thread imran
Hi, Any one know that how can me run a script from command line after receving the input from FORM thru browser thnx

RE: [PHP] Japanese character validation

2003-11-07 Thread umesh
No, Kanji & Kana are not charsets. The form is having charset EUC-JP. Umesh. -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 3:08 PM To: umesh Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Japanese character validation umesh wrote: > As ther

[PHP] Cross Site Scripting

2003-11-07 Thread Shaun
Hi, Is there a way to filter metacharacters from all $_POST values sent from pages on my site in an effort to eliminate the majority of XSS attacks? Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple Image Uploads

2003-11-07 Thread Marek Kilimajer
Jay Fitzgerald wrote: I tried posting my code to the list but there are around 800+ lines of code and my email keeps bouncingi am open to suggestions? Jay Only 500+. And all that I need to know is that "Undefined index" notice. Search the archives for that string. Marek -- PHP General Mail

[PHP] SQL Injections

2003-11-07 Thread Shaun
Hi, does anyone know of a function i can include in my scrpits to ensure all $_POST values sent from a page don't include any SQL? Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Japanese character validation

2003-11-07 Thread Marek Kilimajer
umesh wrote: As there are fields called Last & First Name (Kanji) and Last & First name (Kana) on my forms. Its the need of the application. It would be great, If I could do that. Are Kanji and Kana chracter sets? Form cannot use more charsets. Charset that your script receives will be the same

RE: [PHP] Japanese character validation

2003-11-07 Thread umesh
Hi Edwin, Original Message- From: - Edwin - [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 2:02 PM To: umesh Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Japanese character validation Hi, On Fri, 7 Nov 2003 12:58:51 +0530 "umesh" <[EMAIL PROTECTED]> wrote: > Hi Gurus, > > I am ne

RE: [PHP] PHP developers

2003-11-07 Thread Boaz Yahav
http://www.weberdev.com/jobmatching/about.php3 Sincerely berber Visit http://www.weberdev.com/ & http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP Code from your browser http://toolbar.weberdev.com Share

[PHP] trouble with forcing output to be cached

2003-11-07 Thread Ilja Polivanov
Hallo all, I would like to force PHP generated images to cache on client-side. just for reduce traffic and speed of pageloading. The problem is that PHP adds some headers by default, They are: Cache-Control : no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma : no-cache :) it

Re: [PHP] passing random variables names

2003-11-07 Thread Jacob Vennervald
On Fri, 2003-11-07 at 09:40, Yonatan Ben-Nes wrote: > Hi all, > > I made a form which pass constant variables which never change (Ex. product_name) > and dynamic variables which i withdraw from the db (Ex. attribute_id = 1, value = > color). > Now my problem is with the passing of the dynamic va

[PHP] passing random variables names

2003-11-07 Thread Yonatan Ben-Nes
Hi all, I made a form which pass constant variables which never change (Ex. product_name) and dynamic variables which i withdraw from the db (Ex. attribute_id = 1, value = color). Now my problem is with the passing of the dynamic variables. Because the fields can change their name (id's) i need t

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, On Fri, 7 Nov 2003 12:58:51 +0530 "umesh" <[EMAIL PROTECTED]> wrote: > Hi Gurus, > > I am new to PHP. I am using PHP4 on Linux. > > I have accept input from the user and check if the input is > japanese character only, > for example : If name is accepted , I need to check if its > any of th

[PHP] php.net links

2003-11-07 Thread Dan Zarrella
hello, i was wondering who i would need to contact to submit my site to the php.net links page. my site is stargeek.com, thanks -dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP developers

2003-11-07 Thread James
Can anyone recommend a good place where I can find some talented PHP contractors? I'm looking to hire some people for some upcoming projects, and I don't want to just put an ad in the paper and get a bunch of responses from barely-qualified people. Thanks, J -- PHP General Mailing List (http://

[PHP] Japanese character validation

2003-11-07 Thread umesh
Hi Gurus, (B (BI am new to PHP. I am using PHP4 on Linux. (B (BI have accept input from the user and check if the input is japanese (Bcharacter only, (Bfor example : If name is accepted , I need to check if its any of the (BHiragana, Katakana or Kanji. (B (BI have enabled multibyte support

<    1   2