|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-02-07 07:03 UTC] php at barma dot lviv dot ua
When i start IE and load any my pages, i have error
code on first start, but only in on first start
PHPSESID added to all my lnks
in original -
<script language='JavaScript'>
document.write("<a href=\'http://my.pages/test.php?a=10\' target=\'_top\'>Test</a>");
</script>
but in source i have
<script language='JavaScript'>
document.write("<a href="\?PHPSESSID=1e9d0d00b8269ba57ac9f0203636307a"'http://my.pages/test.php?a=10\' target=\'_top\'>Test</a>");
</script>
and this causes error
i have change in php.ini
session.use_trans_sid = 1
to
session.use_trans_sid = 0
but this is not work
i have change in php.ini
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
to
url_rewriter.tags = ""
but this is not work too
on Linux-server i have recompile without option -enable-trans-sid and this work fine, but i dont find way to fix this problem on my Windows-server
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
no :o) this JavaScript i cute from one from BannerExchange system that i use on my pages but if PHPSESSID inserted this code not work and causes error - full code is - <!--Begin of ECHO BannerPlace 468 x 60 code --> <SCRIPT language="JavaScript"> <!-- var v=navigator.appVersion; var n=navigator.appName; un = Math.round((Math.random() * (2000000000))); if (n=="Microsoft Internet Explorer" && v.substring(0, 1)>="3"){ document.write("<iframe src=\'http://banner.echo.com.ua/gf.dll?5706&"+un+"\' width=468 height=60 scrolling='no' frameborder=0 vspace=0 hspace=0 marginwidth=0 marginheight=0></iframe>"); document.write("<");document.write("!--");} else document.write("<a href=\'http://banner.echo.com.ua/gf.dll?click?5706&"+un+"\' target='_top'><img border=0 src='http://banner.echo.com.ua/gf.dll?nf?5706&"+un+"' width=468 height=60 alt='Ukrainian Internet Advertising Centre ECHO'></a>"); //--> </SCRIPT> <NOSCRIPT> <iframe src="http://banner.echo.com.ua/gf.dll?5706&0" width=468 height=60 scrolling='no' frameborder=0 marginwidth=0 marginheight=0> <A href="http://banner.echo.com.ua/gf.dll?click?5706&0" target=_top><IMG src="http://banner.echo.com.ua/gf.dll?nf?5706&0" border=0 width=468 height=60 alt='Ukrainian Internet Advertising Centre "ECHO"'></A> </iframe> </NOSCRIPT> <SCRIPT language="javascript"> <!-- if (n=="Microsoft Internet Explorer" && v.substring(0, 1)>="3") { document.write("--"); document.write(">"); } //--> </SCRIPT> <!--End of ECHO BannerPlace code -->original code is document.write("<a href=\'http://banner.echo.com.ua/gf.dll?click?5706&"+un+"\' target='_top'><img border=0 src='http://banner.echo.com.ua/gf.dll?nf?5706&"+un+"' width=468 height=60 alt='Ukrainian Internet Advertising Centre ECHO'></a>"); and if in this code inserted PHPSESSID document.write("<a href="\?PHPSESSID=1e9d0d00b8269ba57ac9f0203636307a"'http://banner.echo.com.ua/gf.dll?click?5706&"+un+"\' target='_top'><img border=0 src='http://banner.echo.com.ua/gf.dll?nf?5706&"+un+"' width=468 height=60 alt='Ukrainian Internet Advertising Centre ECHO'></a>"); and this insertion causes error