I am trying to put together a script so that I can upload files to a
php script, with just a URL and can't seem to get my brain around it.
For example, The browser would have a url like:
http://example.com/upload/fileupload.php?filename=C:\filename.txt
Is there a way to do this and I'm
No, there is no way. This is a security restriction - if it would be
possible, any web page could
steal files from you.
Tom Woody wrote:
I am trying to put together a script so that I can upload files to a
php script, with just a URL and can't seem to get my brain around it.
For example, The
: [PHP] Automatic file upload...
I am trying to put together a script so that I can upload files to a
php script, with just a URL and can't seem to get my brain around it.
For example, The browser would have a url like:
http://example.com/upload/fileupload.php?filename=C:\filename.txt
For example, The browser would have a url like:
http://example.com/upload/fileupload.php?filename=C:\filename.txt
Hmmm...that would be fun. How about I just send you my hard drive now?
You can't give values for file inputs. Otherwise, you could steal files w/o
people knowing about it.
---John
4 matches
Mail list logo