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
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
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 reason
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 field
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
Here's the code
?php
foreach ($HTTP_POST_VARS as $Index=$Value) {
echo DEBUG ::: POST Key: $Index; POST Value: $Valuebr\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) {
maybe try...
print pre;
print_r($HTTP_POST_VARS);
print /pre;
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
7 matches
Mail list logo