So here's the dealio -
I have two cookies that are set when one logs in to my page:
IamJim_user and IamJim_pass
This is the code I *tried* using to pull the information:
Code: Select all
<?
if($_COOKIEї'IamJim_user']) {
if($_COOKIEї'IamJim_pass']) {
$user_name = $_COOKIEї'IamJim_user'];
$password = $_COOKIEї'IamJim_pass'];
}
}
?>Later on in the script, I have
Code: Select all
<?
echo "Welcome '$user_name'!";
?>Welcome "! (for an example, visit http://www.empiregaming.net/iamjim and log in at the bottom of the script as aaa, pass: aaa.)
Any ideas?