Reply to Re: Down or Upload Problem

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация