View Single Post

  #2 (permalink)  
Old 03-21-2008
Robert Cummings
 
Posts: n/a
Default Re: [PHP] spider


On Fri, 2008-03-21 at 13:58 -0400, Wolf wrote:
> ---- tedd <tedd@sperling.com> wrote:
>
> In one word: CURL
>
> In another word: WGET
>
> Both are pretty effecitve and give pretty much the same results, however
> with the CURL you can pass other things alone (user:pass) which with
> wget you can not do.


You can pass user and password via wget also:

wget http://user:password@interjinn.com/privateCrud

Or:

--user=USER --password=PASSWORD

Or more specifically so it doesn't also count for FTP:

--http-user=USER --http-password=PASSWORD

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

Reply With Quote