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
Tom, It sounds like the file you want is online someplace. So, perhaps it's fread() that you want to use. With it, you can get the html output of a page. Hugh - Original Message - From: "Tom Woody" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 9:28 AM Subje

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 -