Implode fra side der bruger cookies
HejJeg vil gemme data fra en side der bruger cookies.
Eksempelvis denne
$page = implode('', file ("http://www.dvdpacific.com/search.asp?genre=COMEDIES"));
Jeg kan dog ikke helt få det til at virke, da siden undersøger om cookies er sat.
Hvis de ikke er sat render man ind i denne side:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>DVD Pacific - Buy New DVD Movies, HD DVD and Blu-Ray discs</title>
<meta name="verify-v1" content="eSzzRfEIxThIQfOKMG0KsisbQ8LfY73eQeiH7uGmfls=" />
<base href="http://www.dvdpacific.com">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META NAME="DESCRIPTION" CONTENT="On-line Store of DVD Movies, HD-DVD Films, Blu-ray Discs, Cartoons, Anime, CD Music, DTS Audio and Adult Video. Always a wide selection of the latest New Releases, Bestellers and Classic DVDs with over 500,000 products instock and ready to ship internationally within 24 hours.">
<script language=javascript>
document.location='http://www.dvdpacific.com/search.asp?genre=COMEDIES';
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="100%" valign="middle" align="center">
<p>Secure server is processing your request...</p>
<p><a href="http://www.dvdpacific.com/search.asp?genre=COMEDIES">Please use this link if process takes long</a></p></td>
</tr>
</table>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2233170-1";
urchinTracker();
</script>
</body>
</html>
Note, har prøvet med php's setCookie("", "")
men det virker heller ikke :(