Reply to Re: php and ftp

Your name:

Reply:


Posted by Mike on 10/11/05 10:01

i need to send JPG files....not just text files..


"Rauch Christian" <info@rauch-webdesign.de> wrote in message
news:difkpf$4r2$00$1@news.t-online.com...
> Mike schrieb:
> > how can i get PHP to upload a file from my server, to a remote ftp
server?
> >
> > do i need to have PHP or Apache built with extra module for me to use
this
> > method?
> >
> > or can I use PHP's socket to achieve this?
> >
> > sorry if this is a newbie question
> >
>
> you are searching for http://php.net/fopen
>
> You can use fopen in the following way:
> $handle = fopen ("ftp://user:password@example.com/somefile.txt", "w");
>
> For more info see the page above and linked instructions
>
> -rauch
>

[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

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