View Single Post
  #3 (permalink)  
Old 11-24-04, 06:05 PM
thefoxbox thefoxbox is offline
New Member
 
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Eclipse
maybe something like this:
PHP Code:

if($_ISSET($_COOKIE["in"]) AND $_COOKIE["in"] == "1"){

include(
"root.php");
}
else{
include(
"load_page.php");
setcookie("in"," 1"time()+3600);

For some reason I got this error:

Fatal error: Function name must be a string in F:\xampp2\xampp\htdocs\index.php on line 3

I put that code first.

What did I do wrong? Heh.
Reply With Quote