High.
Ive successfuly built the flash/php/mysql login script on kirupa.com but i want to take it further and have the PHP script set a cookie.
I tried using plain old setcookie with no success and found the ‘Header(setcookie’ version…only problem is i dont know if im getting the syntax right!
Heres what ive tried so far:
Header(“Set-cookie: w1redpass = $useremail.’|’.$md5pass.’|’.$cookTime, time()+606024*100, ‘/’, ‘zaidcrowe.co.uk’, 0”);
…basically trying to convert this:
setcookie(‘w1redname’, $username.’|’.$id, time()+606024*100, ‘/’, ‘zaidcrowe.co.uk’, 0);
Hope this makes sence!
Thansk for your time!