From: M M. <mm...@ad...> - 2003-02-24 01:47:51
|
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: 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); 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. Good Luck! Mike ----- Original Message ----- From: "Dave Cooper" <dav...@ho...> To: <php...@li...> Sent: Sunday, February 23, 2003 12:26 PM Subject: [Phphelpdesk-help] Help Please. > > > Hello, > > Could you just quickly tell me what I should do to correct this PHP error. > > I get it after I log in. > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/statequa/public_html/support/includes/cookie.inc.php on line 8 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/statequa/public_html/support/includes/cookie.inc.php on line 9 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/statequa/public_html/support/includes/cookie.inc.php on line 10 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/statequa/public_html/support/includes/cookie.inc.php on line 11 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/statequa/public_html/support/includes/cookie.inc.php on line 12 > > > Thanks for your time! > > Dave > > > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phphelpdesk-help mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phphelpdesk-help > |