Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » PHP

Capture content of Landing Page...

 
Jump to:  
 
Harsha
PostPosted: 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
PostPosted: 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...
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

drzwi antywłamaniowe removals agencja hostess Kochanowski Jan wiersze Rapidshare