[PHP] Automatic file upload...

2002-11-21 Thread Tom Woody
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

Re: [PHP] Automatic file upload...

2002-11-21 Thread Marek Kilimajer
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

Re: [PHP] Automatic file upload...

2002-11-21 Thread Hugh Danaher
: [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

Re: [PHP] Automatic file upload...

2002-11-21 Thread 1LT John W. Holmes
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