cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: PHP, Curl & IIS

From: Etherel Johnson <etherel.johnson_at_shopsmart.com>
Date: Fri, 17 May 2002 14:02:55 +0100

I hope to be able to provide some help. However, i probably need
some information as to what setup your working with.

cheers.

Etherel Johnson

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: 15 May 2002 08:06
To: David Withnall
Cc: Curl Mailinglist; curl and php list
Subject: Re: PHP, Curl & IIS

On Wed, 15 May 2002, David Withnall wrote:

(I've crossposted this reply over to the curl and php list, as it seemed
like
a mor suitable list for PHP-related curl problems.)

> I found the dll I was after and have it on the server now. however when I
> try to run things I get the following error
>
> PHP Warning: Unable to load dynamic library './php_curl.dll' - The
> operating system cannot run %1. in Unknown on line 0
>
> this is using the simple php get method on the curl site (below)
> Does anyone have any clue as to what I'm doing wrong?

The curl support for PHP on windows have always puzzled me and I've never
understood why people have problems with it, how people solve it, why some
people seem to solve it without letting others know or what the heck I could
do to make it easier for anyone in the future.

I am not a windows user. I do however want curl and curl-related support to
get as widespread as possible, without regard to particular platforms.

So, I'm afraid that this reply doesn't offer a single advice.

> <?php
> //
> // A very simple example that gets a HTTP page.
> //
>
> $ch = curl_init();
>
> curl_setopt ($ch, CURLOPT_URL, "http://www.google.com");
> curl_setopt ($ch, CURLOPT_HEADER, 0);
>
> curl_exec ($ch);
>
> curl_close ($ch);
> ?>

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-17