-
Config this Please
Can some one config this properly if work ill give you rep
Here it is
<?
ob_start(); // allows you to use cookies
$conn = mysql_connect("localhost","zade_panel","zade_panel ");
mysql_select_db(zade_panel) or die(mysql_error());
//fill in the above lines where there are capital letters.
$logged = MYSQL_QUERY("SELECT * from staff WHERE id='$_COOKIE[id]' AND password = 'panel[pass]'");
$logged = mysql_fetch_array($logged);
//the above lines get the user's information from the database.
?>
-
I posted here by the way because more attention!!!
bomb-head (forum modeator) - Please dont double post. (moved to coding)
-
I'll happily configure the configuration. I assume you have already setup the MYSQL database prior of posting.
-
Yesh just need the code :D
-