Re: Weird error...
| From: | Richard Verstegen | Date: | Wed, 02 May 2001 09:12:25 +0000 |
| Subject: | Re: Weird error... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51103@lists.php.net to get a copy of this message | ||
Check your php.ini
[SESSION]
url_rewriter.tags = .....
Richard
""elias"" <elias_bachaalany@yahoo.com> wrote in message
news:9coco0$uq8$1@toye.p.sourceforge.net...
> 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
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>