Reply to Re: cURL and Loading Pages

Your name:

Reply:


Posted by Manuel Lemos on 03/29/07 03:24

Hello,

on 03/27/2007 11:29 AM Aaron said the following:
> I'm working on a program the goes out to a website and pulls down some
> data using cURL. The page I'm pulling from has a loading screen
> before the data I want is displayed. The code I have so far is
> grabing this loading page instead of the fullly loaded page. Is there
> anything I can do? Below is the code I have so far.
>
> $ch= curl_init();
> curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
> curl_setopt($ch, CURLOPT_POST, 1);
> curl_setopt($ch, CURLOPT_HEADER,0);
> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
> curl_setopt($ch, CURLOPT_URL,$url);
> $result = curl_exec($ch);
>

Maybe if you tell what is the URL we can provide better advice.

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация