RE: [PHP] Regarding file upload using php

2001-08-14 Thread Maxim Maletsky
If HTML would work this way then people would never stop guessing the other's files to steal as you visit web pages. answer: no. I'm curious now: perhaps, you can have a value attribute in it? But neither that should be allowed. Never tried myself. Cheers, Maxim Maletsky -Original

RE: [PHP] Regarding file upload using php

2001-08-13 Thread Jason Murray
Can I upload a file to a server without using input type=file I don't want to browse a file. My filename will be fixed file will be present on my local machine. No, you can't. You need to use INPUT TYPE=FILE in a multipart/form-data FORM regardless of the fixed file name and file's

Re: [PHP] Regarding file upload using php

2001-08-13 Thread Evan Nemerson
I don't think so, but to you could put input type=file value=/path/to/file in a hidden layer... Untested, but it should work... On Tuesday 14 August 2001 09:58, you wrote: Hi !! Can I upload a file to a server without using input type=file I don't want to browse a file. My filename will

RE: [PHP] Regarding file upload using php

2001-08-13 Thread Jason Murray
I don't think so, but to you could put input type=file value=/path/to/file in a hidden layer... Untested, but it should work... Yay, security. I doubt it'd work... INPUT TYPE=FILE VALUE='/etc/passwd' Hmmm... Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe,