|  | Capture content of Landing Page... |  | |
| | | Harsha |  |
| Posted: Tue Sep 02, 2008 12:14 pm Post subject: Capture content of Landing Page... |  |
Hi,
I am using curl to capture the contents of the web page into a variable, but i am having problems when the url given to curl gets redirected to another page. Please suggest me, is there a way to capture the contents of final landing page, using curl or through any other method.
Thanks.. |
| |
| | | Harsha |  |
| Posted: Tue Sep 02, 2008 1:57 pm Post subject: Re: Capture content of Landing Page... |  |
On Sep 2, 5:14 pm, Harsha <harsha1...@gmail.com> wrote:
| Quote: | Hi,
I am using curl to capture the contents of the web page into a variable, but i am having problems when the url given to curl gets redirected to another page. Please suggest me, is there a way to capture the contents of final landing page, using curl or through any other method.
Thanks..
|
I got it, used the following option,
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
just for info im posting this,
bye... |
| |
|
|