Re: [PHP] detecting POST variables

2002-10-08 Thread Jef
So is it better to use a text field in this case? Jef + "Vidyut Luther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... you cannot pre-populate a field type of FILE in a form, it's in the W3C specs, but the basic rea

Re: [PHP] detecting POST variables

2002-10-08 Thread Vidyut Luther
you cannot pre-populate a field type of FILE in a form, it's in the W3C specs, but the basic reason why you can't do it, is pretty much to prevent malicous writers to prepopulate the field with c:\windows\passwords.txt or any thing similar, /etc/passwd, /etc/shadow (this is why you shouldn't br

Re: [PHP] detecting POST variables

2002-10-08 Thread Jef
I've noticed that this issue is associated with text fields, password fields, and textarea fields. What about file fields? I have a form that is not showing the information pulled from a database in a file field. Any ideas why? Does the file type not allow this to be done? Jef

Re: [PHP] detecting POST variables

2002-10-07 Thread christian haines
maybe try... print ""; print_r($HTTP_POST_VARS); print ""; this will dump the entire post var array to the browser.. similar to functions before but faster. Christian Haines Internet Developer MITOUSA. Branding Strategies for Visual & Interactive Design 102 Tynte Street North Adelaide

Re: [PHP] detecting POST variables

2002-10-07 Thread Anup
Here's the code $Value) { echo "DEBUG ::: POST Key: $Index; POST Value: $Value\n"; } ?> ### Here's the function (this is how what I catually use). function PrintVars () { global $HTTP_POST_VARS; foreach ($HTTP_POST_VARS as $Index=>$Value) { echo "DEBUG ::: POST Key: $Index; POST Valu

Re: [PHP] detecting POST variables

2002-10-07 Thread Justin French
on 08/10/02 9:13 AM, Anup ([EMAIL PROTECTED]) wrote: > Hello, I have been dealing with different form proccessing PHP scripts. When > I start a new job I usually have a script that just takes the form POST > values and prints them to the screen, so I know what I'm working with. Now > I have a qu

[PHP] detecting POST variables

2002-10-07 Thread Anup
Hello, I have been dealing with different form proccessing PHP scripts. When I start a new job I usually have a script that just takes the form POST values and prints them to the screen, so I know what I'm working with. Now I have a question say the form has 1 field named "FirstName". If the fiel