[PHP] intput type=\file\ .....
Hello, I am trying to get the value for a file input field to have a starting value I can't seem to get it to work when using Value=\"C:\test.gif\" does anyone have any advise? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] intput type=\file\ .....
I am trying to get the value for a file input field to have a starting value I can't seem to get it to work when using Value=\"C:\test.gif\" does anyone have any advise? Stop trying! Any browser that would let you do this is opening up a fair old potential security hole. I'm pretty sure it can't be done. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] intput type=\file\ .....
On Wednesday 14 February 2001 18:13, Brandon Orther wrote: I am trying to get the value for a file input field to have a starting value I can't seem to get it to work when using Value=\"C:\test.gif\" Let me guess - You're printing this in some string enclosed with double quotes (print ("Value=\"C:\test.gif\"");) ? Then you need to escape the "\" before the "t" - "\t" is a TAB character, and chances are good that the browser won't like that in a filename. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Even idiots can handle computers, and many do. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]