Re: Curl with asp pages....
| From: | shiplu | Date: | Fri, 28 Nov 2008 20:19:47 +0000 |
| Subject: | Re: Curl with asp pages.... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283911@lists.php.net to get a copy of this message | ||
When you are dealing with curl, anything can be done as long as its a HTTP
request.Its all about sending HTTP headers and content.
To parse HTML content you can use HTML parser. Regular expression may not
work each time.
Pattern changes over time.
Download Wireshark. Collect 2 sample request and response packet from
there.
Make a format and use it with CURL.
Thats it. So Simple. You never gonna need to know who is generating the
site, PHP or ASP.NET.
--
A K M Mokaddim
http://talk.cmyweb.net
http://twitter.com/shiplu
Stop Top Posting !!