You are here: Re: getting files over ftp/http « PHP Programming Language « IT news, forums, messages
Re: getting files over ftp/http

Posted by Rik on 08/10/06 21:18

Cleverbum@hotmail.com wrote:
> Before I go on a mad quest to try to code some pages, I think it's
> probably prutent to ask something. If I were to pass a php page either
> an ftp or http address of an image file (assuming it had a username
> and password coded in), would I be able to make it go and get that
> file and save it in a folder local to that page?

As far as I understand your question, perfectly.
Look into fopen(). (Check wether allow_url_fopen is enabled in your
settings), or look at the PHP FTP functions:
http://www.php.net/manual/en/ref.ftp.php

Grtz,
--
Rik Wasmus

 

Navigation:

[Reply to this 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

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