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

curl-and-php

asking away then....

From: Mark <mb97_at_bigfoot.com>
Date: Sun, 22 Aug 2004 10:26:21 +0100

I have read the documentation but I'm still struggling....I've read and understood the examples i.e. the ebay login et al.

I've also used sockets in php and MS Access to 'grab' web pages with little difficulty. I've never used iether of the other methods to grab login-protect5ed pages though....that's why I'm trying to use curl....

My question is not particularly detailed - it's simply this 'what am I missing???'

Here's the LiveHTTPHeaders output for a normal browser-based login session:

http://www.racingpost.co.uk/news/home.sd

GET /news/home.sd HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:00 GMT
Content-Type: text/html; charset=ISO-8859-1
Server: Apache
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 www.racingpost.co.uk "Redline Networks T|X Active"
----------------------------------------------------------
http://oas-eu.247realmedia.com/RealMedia/ads/adstream_mjx.ads/racingpost/homepage/1990473316%40x02,x03,x20?

GET /RealMedia/ads/adstream_mjx.ads/racingpost/homepage/1990473316%40x02,x03,x20? HTTP/1.1
Host: oas-eu.247realmedia.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: RMFL=011ByR2IUo03b; RMFD=011ByRGXO103qQ; RMID=3efd200641230e80

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:00 GMT
Content-Length: 1303
Content-Type: application/x-javascript
Expires: Sun, 22 Aug 2004 09:19:00 GMT
Server: Apache/1.3.27 (Unix) mod_ssl/2.8.14 OpenSSL/0.9.7c mod_oas/5.6.1 mod_cap/1.2.1
Set-Cookie: RMFD=011ByoVA; expires=Fri, 01-Jan-2000 23:59:59 GMT; path=/; domain=.247realmedia.com
Set-Cookie: RMFL=011ByoVAUp03b; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/; domain=.247realmedia.com
P3P: policyref="/w3c/p3p.xml", CP="NOI DEVa TAIa OUR BUS UNI"
Pragma: no-cache
----------------------------------------------------------
http://ict.sportingindex.com/scripts/ict.dll?display?2604_sp1

GET /scripts/ict.dll?display?2604_sp1 HTTP/1.1
Host: ict.sportingindex.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: ICTBILLBOARDBANNER909=R909:1_C909:5_B25266:5_

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:00 GMT
Content-Length: 14099
Content-Type: image/gif
Expires: Sun, 22 Aug 2004 09:19:00 GMT
Cache-Control: no-cache
Server: Microsoft-IIS/5.0
Set-Cookie: ICTBILLBOARDLINK909=L909:25266_; path=/
Set-Cookie: ICTBILLBOARDBANNER909=R909:1_C909:6_B25266:6_; expires=Sunday, 29-Aug-2004 09:19:01 GMT; path=/
Set-Cookie: ICTBILLBOARDREFRESH909=I909:127_T909:1093166341_; path=/
Pragma: no-cache
----------------------------------------------------------
http://www.racingpost.co.uk/images/furniture/racingpost.co.uk.js

GET /images/furniture/racingpost.co.uk.js HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow
If-Modified-Since: Sat, 21 Aug 2004 08:10:43 GMT
If-None-Match: "6b65-53db-8d55a6c0"

HTTP/1.x 200 OK
Accept-Ranges: bytes
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:02 GMT
Content-Type: application/x-javascript
Server: Apache
Last-Modified: Sun, 22 Aug 2004 08:42:56 GMT
Etag: "1fa64f-5270-1e644400"
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 www.racingpost.co.uk "Redline Networks T|X Active"
----------------------------------------------------------
http://www.racingpost.co.uk/images/graphics/dean_gall240.jpg

GET /images/graphics/dean_gall240.jpg HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Age: 2233
Accept-Ranges: bytes
Date: Sun, 22 Aug 2004 08:41:49 GMT
Content-Length: 34059
Content-Type: image/jpeg
Server: Apache
Last-Modified: Sat, 21 Aug 2004 18:34:59 GMT
Etag: "4694c-850b-45e2dac0"
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/login_iframe.sd

GET /cde/login_iframe.sd HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:02 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
http://www.racingpost.co.uk/images/graphics/scoop6_winners87.jpg

GET /images/graphics/scoop6_winners87.jpg HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Age: 43818
Accept-Ranges: bytes
Date: Sat, 21 Aug 2004 21:08:44 GMT
Content-Length: 8774
Content-Type: image/jpeg
Server: Apache
Last-Modified: Sat, 24 Jul 2004 17:54:48 GMT
Etag: "2d4c41-2246-729f6a00"
----------------------------------------------------------
https://reg.racingpost.co.uk/images/rp_style_ns.css

GET /images/rp_style_ns.css HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:02 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 13:13:18 GMT
Etag: "100004-3c4c-4003eeee"
Accept-Ranges: bytes
Content-Type: text/css
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Transfer-Encoding: chunked
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
http://www.racingpost.co.uk/images/graphics/take_the_stand87.jpg

GET /images/graphics/take_the_stand87.jpg HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Age: 43818
Accept-Ranges: bytes
Date: Sat, 21 Aug 2004 21:08:44 GMT
Content-Length: 7582
Content-Type: image/jpeg
Server: Apache
Last-Modified: Tue, 06 Jul 2004 14:56:30 GMT
Etag: "2a9b33-1d9e-dbd42380"
----------------------------------------------------------
http://www.racingpost.co.uk/images/graphics/milk_it_mick87.jpg

GET /images/graphics/milk_it_mick87.jpg HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Age: 71800
Accept-Ranges: bytes
Date: Sat, 21 Aug 2004 13:22:22 GMT
Content-Length: 8754
Content-Type: image/jpeg
Server: Apache
Last-Modified: Mon, 05 Jul 2004 13:01:19 GMT
Etag: "315ad-2232-220f45c0"
----------------------------------------------------------
http://www.redcolobus.com/betfair/tenancies/images/rp.gif

GET /betfair/tenancies/images/rp.gif HTTP/1.1
Host: www.redcolobus.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.redcolobus.com/betfair/tenancies/racingpost.html
If-Modified-Since: Mon, 26 Jul 2004 16:54:38 GMT
If-None-Match: "51-fee-d721ef80"

HTTP/1.x 304 Not Modified
Etag: "51-fee-d721ef80"
Date: Sun, 22 Aug 2004 08:35:09 GMT
----------------------------------------------------------
http://www.racingpost.co.uk/images/graphics/andrew_barr87.jpg

GET /images/graphics/andrew_barr87.jpg HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Age: 2232
Accept-Ranges: bytes
Date: Sun, 22 Aug 2004 08:41:50 GMT
Content-Length: 6910
Content-Type: image/jpeg
Server: Apache
Last-Modified: Mon, 05 Jul 2004 12:59:51 GMT
Etag: "1deeb-1afe-1cd07fc0"
----------------------------------------------------------
http://www.racingpost.co.uk/images/graphics/arsenal87.jpg

GET /images/graphics/arsenal87.jpg HTTP/1.1
Host: www.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.racingpost.co.uk/news/home.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Age: 43819
Accept-Ranges: bytes
Date: Sat, 21 Aug 2004 21:08:44 GMT
Content-Length: 10678
Content-Type: image/jpeg
Server: Apache
Last-Modified: Mon, 24 May 2004 15:56:43 GMT
Etag: "1df81-29b6-b00104c0"
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/top_username.gif

GET /images/furniture/top_username.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:02 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Wed, 12 May 2004 18:22:12 GMT
Etag: "1d40a3-66-40a26b54"
Accept-Ranges: bytes
Content-Length: 102
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
http://www.redcolobus.com/log/log.gif?trn:imp!clt:1!pub:4!adv:2!fmt:1!rnd:9576885535286936

GET /log/log.gif?trn:imp!clt:1!pub:4!adv:2!fmt:1!rnd:9576885535286936 HTTP/1.1
Host: www.redcolobus.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.redcolobus.com/betfair/tenancies/racingpost.html

HTTP/1.x 200 OK
Accept-Ranges: bytes
Date: Sun, 22 Aug 2004 09:12:21 GMT
Content-Length: 43
Content-Type: image/gif
Server: Apache/2.0.44 (Unix)
Last-Modified: Mon, 26 Jul 2004 16:54:45 GMT
Etag: "210-2b-d78cbf40"
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/log_in_b.gif

GET /images/furniture/log_in_b.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:03 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 12:34:27 GMT
Etag: "104023-122-4003e5d3"
Accept-Ranges: bytes
Content-Length: 290
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/register_b.gif

GET /images/furniture/register_b.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:03 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 12:34:29 GMT
Etag: "1d4030-11f-4003e5d5"
Accept-Ranges: bytes
Content-Length: 287
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/top_password.gif

GET /images/furniture/top_password.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:03 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Wed, 12 May 2004 18:21:11 GMT
Etag: "1040a2-64-40a26b17"
Accept-Ranges: bytes
Content-Length: 100
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/help_b.gif

GET /images/furniture/help_b.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:03 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 12:34:27 GMT
Etag: "1d401e-119-4003e5d3"
Accept-Ranges: bytes
Content-Length: 281
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/forgotten_password_b.gif

GET /images/furniture/forgotten_password_b.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:03 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 12:34:27 GMT
Etag: "104019-199-4003e5d3"
Accept-Ranges: bytes
Content-Length: 409
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/login_iframe.sd

POST /cde/login_iframe.sd HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow
Content-Type: application/x-www-form-urlencoded
Content-Length: 46
in_un=rushtow&in_pw=mark1234&process=IN&PARGS=
HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:15 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
X-Accelerated-By: PHPA/1.3.3r2
Set-Cookie: USER_SIGN_IN_CHECK=RUSHTOW
Set-Cookie: RP_DISPLAY=rushtow
Set-Cookie: RP_UID=330106; path=/; domain=.racingpost.co.uk
Set-Cookie: R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK; path=/; domain=.racingpost.co.uk
Set-Cookie: PermRpLogin=rushtow; expires=Mon, 22-Aug-2005 09:19:15 GMT; path=/; domain=.racingpost.co.uk
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=

GET /cde/rp_reg_init.sd?PARGS= HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:15 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
X-Accelerated-By: PHPA/1.3.3r2
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/login_iframe.sd

GET /cde/login_iframe.sd HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:15 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/log_out_b.gif

GET /images/furniture/log_out_b.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:15 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 12:34:27 GMT
Etag: "1d4026-127-4003e5d3"
Accept-Ranges: bytes
Content-Length: 295
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/my_details_b.gif

GET /images/furniture/my_details_b.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:15 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 12:34:28 GMT
Etag: "10402b-16b-4003e5d4"
Accept-Ranges: bytes
Content-Length: 363
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/images/furniture/deposit_funds_b.gif

GET /images/furniture/deposit_funds_b.gif HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/login_iframe.sd
Cookie: PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:15 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
Last-Modified: Tue, 13 Jan 2004 12:34:26 GMT
Etag: "1d408e-14c-4003e5d2"
Accept-Ranges: bytes
Content-Length: 332
Content-Type: image/gif
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------

Here's my php code:

<?php
/*
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' File: ebay_login.php
'
' Description: This script Login you on Ebay.com website using curl in php.
'
' Written by: Imran Khalid imranlink_at_hotmail.com
'
' Languages: PHP + CURL
'
' Date Written: March 23, 2004
'
' Version: V.1.0
'
' Platform: Windows 2000 / IIS / Netscape 7.1
'
' Copyright: Open Sorce Code (GPL)
'
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
*/

// 1-Get First Login Page http://signin.ebay.com/aw-cgi/eBayISAPI.dll?SignIn
// This page will set some cookies and we will use them for Posting in Form data.

$cookie_file_path = "/home/woofba2/public_html/Cookies.txt"; // Please set your Cookie File path

$LOGINURL = "http://www.racingpost.co.uk/news/home.sd";
$agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$LOGINURL);
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
$result = curl_exec ($ch);
print $result;
curl_close ($ch);

// 2b- Post Login Data to Page http://signin.ebay.com/aw-cgi/eBayISAPI.dll

$LOGINURL = "https://reg.racingpost.co.uk/cde/login_iframe.sd";
$POSTFIELDS = "in_un=rushtow&in_pw=mark1234&process=IN&PARGS=";
$reffer = "http:www.racingpost.co.uk/news/home.sd";

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$LOGINURL);
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$POSTFIELDS);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_REFERRER, $reffer);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file_path);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
$result = curl_exec ($ch);

print "<pre>";
print_r(curl_getinfo($ch));
echo "\n\ncURL error number:" .curl_errno($ch);
echo "\n\ncURL error:" . curl_error($ch);
// ...close cURL handle ($ch) below
print "</pre>";

curl_close ($ch);
print "second result...<BR><BR>";
print $result;

// 3- Post Login Data to Page http://signin.ebay.com/aw-cgi/eBayISAPI.dll

$LOGINURL = "http://www.racingpost.co.uk/horses/a_days_racing.sd?crs=YOR&r_date=2004-8-19&flag=1&cards=1";
$reffer = "http://www.google.com";

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$LOGINURL);
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_REFERER, $reffer);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file_path);
// curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
$result = curl_exec ($ch);
curl_close ($ch);
print "third result...<BR><BR>";
print $result;
?>

Heres the LiveHTTPHeaders output for my script:

http://www.woofbark.com/curllogin.php

GET /curllogin.php HTTP/1.1
Host: www.woofbark.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:56 GMT
Content-Type: text/html
Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
X-Powered-By: PHP/4.3.8
----------------------------------------------------------
http://oas-eu.247realmedia.com/RealMedia/ads/adstream_mjx.ads/racingpost/homepage/1310823630%40x02,x03,x20?

GET /RealMedia/ads/adstream_mjx.ads/racingpost/homepage/1310823630%40x02,x03,x20? HTTP/1.1
Host: oas-eu.247realmedia.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php
Cookie: RMFL=011ByoVAUp03b; RMID=3efd200641230e80

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:56 GMT
Content-Length: 1293
Content-Type: application/x-javascript
Expires: Sun, 22 Aug 2004 09:19:56 GMT
Server: Apache/1.3.27 (Unix) mod_ssl/2.8.14 OpenSSL/0.9.7c mod_oas/5.6.1 mod_cap/1.2.1
Set-Cookie: RMFL=011ByoVAUq03b; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/; domain=.247realmedia.com
P3P: policyref="/w3c/p3p.xml", CP="NOI DEVa TAIa OUR BUS UNI"
Pragma: no-cache
----------------------------------------------------------
http://www.woofbark.com/rp_style_ns.css

GET /rp_style_ns.css HTTP/1.1
Host: www.woofbark.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php

HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:57 GMT
Content-Type: text/html; charset=iso-8859-1
Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
----------------------------------------------------------
http://www.woofbark.com/listmenu.css

GET /listmenu.css HTTP/1.1
Host: www.woofbark.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php

HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:57 GMT
Content-Type: text/html; charset=iso-8859-1
Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
----------------------------------------------------------
http://www.woofbark.com/listmenu.js

GET /listmenu.js HTTP/1.1
Host: www.woofbark.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php

HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:57 GMT
Content-Type: text/html; charset=iso-8859-1
Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/login_iframe.sd

GET /cde/login_iframe.sd HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:57 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
X-Accelerated-By: PHPA/1.3.3r2
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
http://ict.sportingindex.com/scripts/ict.dll?display?2604_sp1

GET /scripts/ict.dll?display?2604_sp1 HTTP/1.1
Host: ict.sportingindex.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php
Cookie: ICTBILLBOARDBANNER909=R909:1_C909:6_B25266:6_; ICTBILLBOARDLINK909=L909:25266_; ICTBILLBOARDREFRESH909=I909:127_T909:1093166341_

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:57 GMT
Content-Length: 14099
Content-Type: image/gif
Expires: Sun, 22 Aug 2004 09:19:57 GMT
Cache-Control: no-cache
Server: Microsoft-IIS/5.0
Set-Cookie: ICTBILLBOARDLINK909=L909:25266_; path=/
Set-Cookie: ICTBILLBOARDBANNER909=R909:1_C909:7_B25266:7_; expires=Sunday, 29-Aug-2004 09:19:57 GMT; path=/
Set-Cookie: ICTBILLBOARDREFRESH909=I909:127_T909:1093166397_; path=/
Pragma: no-cache
----------------------------------------------------------
http://www.woofbark.com/images/furniture/rp_logo.gif

GET /images/furniture/rp_logo.gif HTTP/1.1
Host: www.woofbark.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php

HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:58 GMT
Content-Type: text/html; charset=iso-8859-1
Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
----------------------------------------------------------
http://www.woofbark.com/images/furniture/racingpost.co.uk.js

GET /images/furniture/racingpost.co.uk.js HTTP/1.1
Host: www.woofbark.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php

HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:58 GMT
Content-Type: text/html; charset=iso-8859-1
Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
----------------------------------------------------------
http://www.redcolobus.com/log/log.gif?trn:imp!clt:1!pub:4!adv:2!fmt:1!rnd:737179166585799.6

GET /log/log.gif?trn:imp!clt:1!pub:4!adv:2!fmt:1!rnd:737179166585799.6 HTTP/1.1
Host: www.redcolobus.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.redcolobus.com/betfair/tenancies/racingpost.html

HTTP/1.x 200 OK
Accept-Ranges: bytes
Date: Sun, 22 Aug 2004 09:12:44 GMT
Content-Length: 43
Content-Type: image/gif
Server: Apache/2.0.44 (Unix)
Last-Modified: Mon, 26 Jul 2004 16:54:45 GMT
Etag: "210-2b-d78cbf40"
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=

GET /cde/rp_reg_init.sd?PARGS= HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:58 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=

GET /cde/rp_reg_init.sd?PARGS= HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:58 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
X-Accelerated-By: PHPA/1.3.3r2
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=

GET /cde/rp_reg_init.sd?PARGS= HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:58 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
http://www.woofbark.com/images/furniture/triangle_red.gif

GET /images/furniture/triangle_red.gif HTTP/1.1
Host: www.woofbark.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.woofbark.com/curllogin.php

HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sun, 22 Aug 2004 09:19:58 GMT
Content-Type: text/html; charset=iso-8859-1
Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=

GET /cde/rp_reg_init.sd?PARGS= HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:58 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=

GET /cde/rp_reg_init.sd?PARGS= HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:58 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
X-Accelerated-By: PHPA/1.3.3r2
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------
https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=

GET /cde/rp_reg_init.sd?PARGS= HTTP/1.1
Host: reg.racingpost.co.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://reg.racingpost.co.uk/cde/rp_reg_init.sd?PARGS=
Cookie: USER_SIGN_IN_CHECK=RUSHTOW; RP_DISPLAY=rushtow; PermRpLogin=rushtow; RP_UID=330106; R_ID_ACC=%257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK

HTTP/1.x 200 OK
Date: Sun, 22 Aug 2004 09:19:59 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.0 mod_ssl/2.8.15 OpenSSL/0.9.7c
X-Powered-By: PHP/4.3.0
X-Accelerated-By: PHPA/1.3.3r2
Transfer-Encoding: chunked
Content-Type: text/html
Vary: Accept-Encoding, User-Agent
Content-Encoding: deflate
Warning: 214 reg.racingpost.co.uk "Redline Networks T|X Active"
Via: 1.1 rp-red2 (Redline Networks Web I/O Processor - T|X 3.2.18 0)
----------------------------------------------------------

THE LAST REQUEST/RESPONSE SEEM TO LOOP AND I HAVE TO END IT MANUALLY....

Heres the Cookie file:

# Netscape HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

reg.racingpost.co.uk FALSE /cde/ FALSE 0 USER_SIGN_IN_CHECK RUSHTOW
reg.racingpost.co.uk FALSE /cde/ FALSE 0 RP_DISPLAY rushtow
.racingpost.co.uk TRUE / FALSE 0 RP_UID 330106
.racingpost.co.uk TRUE / FALSE 0 R_ID_ACC %257Fv%257Dw5u%252F2%2523%2524%2522LNKI%255EXK
.racingpost.co.uk TRUE / FALSE 1124702397 PermRpLogin rushtow

So, anyone spot anythin obvious....

cheers for looking....
Received on 2004-08-22