Weird error...

From: Date: Wed, 02 May 2001 17:38:12 +0000
Subject: Weird error...
Groups: php.general 
Request: Send a blank email to php-general+get-51090@lists.php.net to get a copy of this message
For some reason, whenever i run my script for the first time in the browser, the static source file get parsed and produces errors.... My script have JavaScript in it, and also my script calls the "session_start();" Now first time the script is beeing run, i view source and see in my static part of file: <td><img border="0" src="../images/slogo.gif?PHPSESSID=a969d3d42b6277125c9830a7e09d3cc2"></td> knowing that that previous line is a static part, why the ?PHPSESSID got appeneded to it? beside that, it changes my original javascript line from: <td><a href="../services/hosting/main.php"><img border="0" src="../images/shared1.gif" onmouseover="JavaScript: imgmenu1.src='../images/shared1over.gif'" onmouseout='JavaScript: imgmenu1.src="../images/shared1.gif"' name="imgmenu1"></a></td> to: <td><a href="../services/hosting/main.php?PHPSESSID=a969d3d42b6277125c9830a7e09d3cc 2"><img border="0" src="../images/shared1.gif?PHPSESSID=a969d3d42b6277125c9830a7e09d3cc2" onmouseover="JavaScript: imgmenu1.src="../images/shared1over.gif"" onmouseout="JavaScript: imgmenu1.src="../images/shared1.gif"" name="imgmenu1"></a></td> As you notice, the JavaScript statment is now erroneous because the single quote got replaced with another double-quote. Can any one tell me what's wrong? and how can i overcome this problem? thanks. -elias http://www.eassoft.cjb.net

« previous php.general (#51090) next »