Reply to Re: [PHP] Send postcard link

Your name:

Reply:


Posted by Torgny Bjers on 10/10/05 08:14

Roger Thomas wrote:

>On server-1 I have my photogallery working. On another box, server-2, I have my postcard script also working great. Users can send postcards using ready inhouse designs or upload their own (max 100K). Both have been serving our community for the past 2 years or so.
>
>Current requirement:
>
>When I browsed my photogallery, I would like to have a button that says 'Send this picture as postcard'. Behind the scenes, how do I send that picture to server-2 postcard script?
>
>
>

The easiest way would probably be to use file_get_contents, which is
binary safe. The file_get_contents function supports opening remote
files if allow_url_fopen is activated.

An example:
$handle = fopen("ftp://user:password@example.com/somefile.txt", "r");

Regards,
Torgny

[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

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