...

View Full Version : File



Richard
02-11-2003, 11:00 PM
You can use file() to grab the html of other webpages, but is there a way of specifying the headers that the php sends to the grabbed page ? For example if I want to specify Cookie: etc.

mordred
02-12-2003, 09:10 AM
For this you will need a socket connection:
http://www.php.net/manual/en/function.fsockopen.php

firepages
02-12-2003, 04:58 PM
also take a look at the snoopy class (http://snoopy.sourceforge.net) which does a lot of the http work for you..



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum