Quick and easy question....Here is what I did, though it's not the best =
way to fix the problem, but it
works. Maybe someone here knows the best way:
=20
Open for edit the /includes/cookie.inc.php file.
Change all the $date variables to 0.
Sample:
setcookie("status", $status, $date); to
setcookie("status", $status, 0);
=20
I'm not expert in php, but I believe this sets the cookie duration to =
the
current session. Just means you have to log in each time you open the
browser. Someone else I'm sure can explain it better.
=20
Good Luck!
=20
Mike
----- Original Message -----=20
From: Bob Rogers=20
To: php...@li...=20
Sent: Monday, March 17, 2003 12:01 PM
Subject: [Phphelpdesk-help] Quick and easy question....
Dear Sirs,
What does the following message mean? "Warning: setcookie() =
expects parameter 3 to be long, string given in =
/var/www/helpdesk/includes/cookie.inc.php on line 8". I get this error =
for Line 8 through 12. I attached a picture of what the screen looks =
like with this error.
<<HDErr.bmp>>=20
Thank You,
Bob Rogers=20
|