PHP Include wont work!?
Posted: Sun Aug 01, 2010 1:22 pm
For some reason this wont work.. Index is jsut returned blank ... Hmm
Index.php :
Cookie.php:
It works perfectly if I just enter the code without using a include ...
Index.php :
Code: Select all
<?php
include("http://www.website.com/cookie.php");
?>Code: Select all
<?php
if (isset($_COOKIE["background"]))
$background = $_COOKIE['background'];
else
$background = " bgcolor='#FFFFFF'";
?>