Re: Can anyone help me save img from URL?

From: Date: Thu, 16 May 2002 21:15:45 +0000
Subject: Re: Can anyone help me save img from URL?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-97976@lists.php.net to get a copy of this message
Hi Guys, Thank you fo your input. I am sorry I am new to the list so + English is not my first language :-( anyhow., I shoudl 've made my question more clear. I am trying to save the image from the given URL (http://domain.com/image.gif) running a PHP script on the page. I have tried fread() and it does not allow me to accomplish that :-(( Have you guys ever come across such a problem? Again thank you very much for your suggestions Best Regards, Victor Polyushko ----- Original Message ----- From: "Robert Cummings" <robert.cummings@webmotion.com> To: "Miguel Cruz" <mnc@stoic.net> Cc: "Victor Polyushko" <victor@gbiswebdesign.com>; <php-general@lists.php.net> Sent: Thursday, May 16, 2002 2:01 PM Subject: Re: [PHP] Can anyone help me save img from URL? > Miguel Cruz wrote: > > > > On Thu, 16 May 2002, Victor Polyushko wrote: > > > I was wondering if someone knows how to save the image from the given > > > url http://domain.com/image.gif into a file on a > > > local machine > > > > lynx -source -dump > image.gif > > If there were actually an image I'd use: > > wget http://domain.com/image.gif > > Cheers, > Rob. > -- > .-----------------. > | Robert Cummings | > :-----------------`----------------------------. > | Webdeployer - Chief PHP and Java Programmer | > :----------------------------------------------: > | Mail : mailto:robert.cummings@webmotion.com | > | Phone : (613) 731-4046 x.109 | > :----------------------------------------------: > | Website : http://www.webmotion.com | > | Fax : (613) 260-9545 | > `----------------------------------------------' >

« previous php.general (#97976) next »