|
Posted by J.O. Aho on 12/09/06 17:32
Wolfgang wrote:
> I found in phpinfo() fsockopen as diasabled.
>
> I am very close to give, i put phpinfo() at the end of my site
>
> and I would be very glad if you could take a look at, to tell wether
> there is no effort worth trying to save a picture from a HTTP Source to
> my ftp, well with a free Webspace, ....but I really would like to.
Yes, it starts to look dark for you to get this to work.
I'm not sure what tools your web-hotel gives you. If you are lucky, you can
use wget (console program for fetching files).
Then you could use exec("wget http://www.example.net/images/image.png"), this
would save the file on the web-hotel, then you can move the file to your ftp.
I suggest that you try to set wget to save to /tmp, where the web server
should have the rights to save.
To see how wget works, read this page:
http://www.cbi.pku.edu.cn/Doc/CS/wget/man.wget.html
Good luck
//Aho
Navigation:
[Reply to this message]
|