[PHP] file downlaod via http

2001-12-10 Thread Helmut Habiger

hi!

is's such a simple question, but ...

i'd like to download a picture.
but instead of typing the URL into my browser, loading the page into the
browser, then right-clicking to to get the save picture as menu, then
entering the local path and press save,
I'd like to write a litte script, where i enter the URL of the picture
(example:http://www.picturesite.com/picture1.jpg;), the local storing
path and all the rest for download is done by the script.

any idea?

thx helmut


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] file downlaod via http

2001-12-10 Thread Valentin V. Petruchek

Security, you know...
Browser will not allow you to save files on LOCAL drive

Otherwise Internet should be very dangerous thing
- Original Message -
From: Helmut Habiger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 10, 2001 5:57 PM
Subject: [PHP] file downlaod via http


 hi!

 is's such a simple question, but ...

 i'd like to download a picture.
 but instead of typing the URL into my browser, loading the page into the
 browser, then right-clicking to to get the save picture as menu, then
 entering the local path and press save,
 I'd like to write a litte script, where i enter the URL of the picture
 (example:http://www.picturesite.com/picture1.jpg;), the local storing
 path and all the rest for download is done by the script.

 any idea?

 thx helmut


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]