| 
	
 | 
 Posted by Alix Axel on 09/09/07 17:44 
CURL will do great, I don't have the code right here but check: 
 
CURLOPT_HTTPAUTH 
CURLOPT_USERPWD 
CURLOPT_URL 
CURLOPT_TIMEOUT 
CURLOPT_HEADER 
CURLOPT_FOLLOWLOCATION 
CURLOPT_RETURNTRANSFER 
CURLOPT_SSL_VERIFYPEER 
CURLOPT_SSL_VERIFYHOST 
CURLOPT_COOKIEJAR 
CURLOPT_COOKIEFILE 
CURLOPT_POST 
CURLOPT_POSTFIELDS 
CURLOPT_REFERER 
CURLOPT_USERAGENT 
 
Just learn about it on the PHP Manual. 
 
On Sep 9, 9:09 am, facebk...@gmail.com wrote: 
> Hi all expertise, 
> 
> Could anyone tell me how to simulate a user (with correct browser 
> setting, etc) to access, walk through and save a facebook webpage 
> (e.g. a friend listing page) using php?  I know curl may able to do 
> similar stuff, however, I am not sure what kind of setting should I 
> need.  Also is there any sample code? 
> 
> Notes:  since facebook need to login before accessing the other page, 
> so a simulation of browsing will be needed as well. 
> 
> Best regards, 
> Guy
 
  
Navigation:
[Reply to this message] 
 |