From: Comharsa <com...@cl...> - 2001-03-05 11:20:35
|
At 09:31 AM 5/3/01, Are Westby found time to write: >I'd suggest you update php/apache. Or as an intermediary solution, you could >always run Netscape. Never had any problems there. In case you aren't able to update these, I found a fix at the sourceforge website. Change the files includes/cookie.inc.php and config/general.conf.php to read as follows: cookie.inc.php: <?php // SET COOKIE INFO // cookie.inc.php -- modified by Jay Kramer (ja...@mo...) if (isset($authentication)) { $time = mktime()+g_cookietimeout; $date = date("l, d-M-y H:i:s", ($time)); // Make a IE5.01compatible date/time.. setcookie("status", $status, $date, $g_base_path, $g_domain); // IE5.01 is picky about the base path nad domain, if they are missing, there is a good chance the cookie will not get set.. setcookie("user", $user, $date, $g_base_path, $g_domain); // setcookie("txtUsername", $txtUsername, $date, $g_base_path, $g_domain); setcookie("group", $group, $date, $g_base_path, $g_domain); setcookie("authentication", $authentication, $date, $g_base_path, $g_domain); setcookie("laston", $laston, $date, $g_base_path, $g_domain); } else { $time = mktime()+g_cookietimeout; $date = date("l, d-M-y H:i:s", ($time)); setcookie("status", "Logged In", $date,$g_base_path, $g_domain); setcookie("user", $txtUsername, $date, $g_base_path, $g_domain); // setcookie("txtusername", $txtUsername, $date, $g_base_path, $g_domain); setcookie("group", $row[4], $date, $g_base_path, $g_domain); setcookie("authentication", "YES", $date, $g_base_path, $g_domain); setcookie("laston", $row[6], $date, $g_base_path, $g_domain); } ?> general.conf.php: <?php //general configuration $version = ".04.4"; //Version Number $g_title = "PHP Help Desk"; //Title of your helpdesk $g_helpdesk_email = "web...@yo..."; //Email of your helpdesk $g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server $g_cookietimeout = "1200"; //Timeout for cookies $g_refreshtime = "600"; //Refresh time for viewall // If you are using http://someaddress.com/phphelpdesk, then you must set the // base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the end // you must put that in there. If you are using a virtual host such as // http://phphelpdesk.somecompany.com, then you can just leave it empty with // the quotes touching ""; $g_base_url = "http://someaddress.com/phphelpdesk/"; //base url location // you HAVE to set your domain name here, with no HTTP: // or / at the end or anything... $g_domain = "someaddress.com"; // this is the path from the last part of the $g_base_url // parameter. If there is no path, set this to "/"; NOTICE // THE BEGINNING AND ENDING /'s!! $g_base_path = "/phphelpdesk/"; ?> Thanks to Jay Kramer and someone who didn't leave their name. It now works for me using IE5. HTH Brian com...@cl... |