By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

Capture content of Landing Page...

P: n/a
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..
Sep 2 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Sep 2, 5:14*pm, Harsha <harsha1...@gmail.comwrote:
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...
Sep 2 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.