|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-17 11:31 UTC] sas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
the transparent rewriter seems to miss-identify the following javascript code as html? sascha? <?php session_start(); session_register("i"); $i++; ?> <html> <head> <script language="javascript"> function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } </script> </head> <body> <a href="abc.php">hallo <?= $i ?></a> </body> </html> becomes <html> <head> <script language="javascript"> function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x="a[i])&&x.oSrc;i++)" x.src="x.oSrc;" } </script> </head> <body> <a href="abc.php?PHPSESSID=05391ddf955070ea18e6cc2a44e9a9f2">hallo 1</a> </body> </html>