I've got this function in a class object, however the cookie does not
set even though £ok returns true !!! I've got cookies enables on all my
borswers (firefox, mozilla, opera , IE)..
any ideas !!
function updateClient($arr){
extract($arr);
//print_r($arr);
$sql = update clients set
$ok = setcookie(client_id, argh, 259300); //* expire in a month ish
Nope, it expired a long time ago... :-)
Read the manual for setcookie:
http://php.libero.it/manual/en/function.setcookie.php (mainly the part about
the expire parameter)
HTH, cheers
Silvio
--
PHP General Mailing List
doh!!
ta ;-)
S
ilvio Porcellana wrote:
$ok = setcookie(client_id, argh, 259300); //* expire in a month ish
Nope, it expired a long time ago... :-)
Read the manual for setcookie:
http://php.libero.it/manual/en/function.setcookie.php (mainly the part about
the expire parameter)
HTH, cheers
Silvio
--
3 matches
Mail list logo