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. ---Joh

Re: [PHP] Automatic file upload...

2002-11-21 Thread Hugh Danaher
, November 21, 2002 9:28 AM Subject: [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

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 br

Re: [PHP] Automatic file upload...

2002-11-21 Thread Marco Tabini
Hi Tom, You can't specify a default for the file input box--that would be a security problem. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message -

[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 ju