curl-users
RE: Relationship between Curl and Snoopy
Date: Mon, 13 Jan 2003 10:10:05 +0100
If you want to extract and post data from/to http and https web sites from
PHP, actually Snoopy is not necessary.
Snoopy is a class which can use Curl (espacially for https problems). It
includes a lot of HTML parsing, posting functions etc.
I tried to use it and it worked pretty well with http but not with https and
therefore not with Curl.
FYI Snoopy is not using the PHP module but the Curl command line tool. And
then as far as I understood, you just need
to indicate into the Snoopy configuration file the path of the Curl
executable...That's all what I know...
For the parsing/posting thing I've just coded what I needed (sometimes it is
really better to do this by
your own because you know exactly what the program does...)
If you need some code, just tell me what you need exactly maybe I could
help.
Jerome
-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Sunday, January 05, 2003 8:34 PM
To: Curl Mailinglist
Cc: curl and php list
Subject: Re: Relationship between Curl and Snoopy
On Sun, 5 Jan 2003, Mike Stephens wrote:
(Since Snoopy is a PHP thing, I CC my reply to the curl and php list, where
you may get more fruitful replies than on the curl-users list)
> I want to extract and post data from/to http and https web sites from PHP.
> Curl seems to do the job beautifully but I see Snoopy recommended for this
> purpose. An advantage is said that it doesn't require anything loaded on
> your server. This is a big plus for me if it is true since I will be
> running on a shared box where I don't think I can load executables (apart
> from a standard configuration including PHP).
>
> Snoopy documentation is difficult to find. Looking at one version of the
> library it seems to be trying to use Curl.
>
> What is the relationship between Curl and Snoopy? What are the pros and
> cons of using either one?
Curl has no relationship at all with Snoopy. Snoopy may use it, I don't
know.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026enReceived on 2003-01-13