cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Copying image file from https-URL

From: Patrick Kuebler <p.kuebler_at_kernpunkt.de>
Date: Tue, 11 Feb 2003 10:05:52 +0100

Hi!

I have a URL like https://www.myhost.com/servlet/return?id=1234 which provides me a reference to an image file. Now I want to copy this file with PHP on my server. The copy() and fopen() functions donīt work in the PHP version that I run (4.2.3) because of the https. So I hoped I can do this with CURL, but I donīt know how. The example showed on php.net doesnīt really work, the fopen() functions alway throws errors.

Thanks for your help
Patrick

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
Received on 2003-02-11