PHP4 session management and internal HTML links

From: Date: Mon, 23 Apr 2001 15:15:20 +0000
Subject: PHP4 session management and internal HTML links
Groups: php.general 
Request: Send a blank email to php-general+get-49863@lists.php.net to get a copy of this message
I wrote a HTML page using PHP 4.0 and its session management and I am getting very strange results. I found out that it only happens when I use href="#1". There is no problem with href="file.php#1". Original code: <table width="100%"> <tr> <td><a href="#1">Gesuchte T&auml;tigkeit</a></td> <td><a href="#2">Gesuchte T&auml;tigkeit</a></td> <td><a href="#3">Gesuchte T&auml;tigkeit</a></td> </tr> </table> <form action="bewerbung.php" method="post"> <input type="hidden" name="cmd" value="send"> <input type="hidden" name="login" value="<? echo $login; ?>"> <a name="1"> Result in IE: <table width="100%"> <tr> <td><a href=" #1">Gesuchte T&auml;tigkeit</a></td> <td><a href=" #2">Gesuchte T&auml;tigkeit</a></td> <td><a href=" #3">Gesuchte T&auml;tigkeit</a></td> </tr> </table> <form action="bewerbung.php" method="post"> <input type="hidden" name="cmd" value="send"> <input type="hidden" name="login" value="?SID=0b04e7e464152a73d8217c244bb38626" #1">Gesuchte T&auml;tigkeit</a></td> <td><a href=" #2">Gesuchte T&auml;tigkeit</a></td> <td><a href=" #3">Gesuchte T&auml;tigkeit</a></td> </tr> </table> <form action="bewerbung.php" method="post"> <input type="hidden" name="cmd" value="send"> <input type="hidden" name="login" value="?SID=0b04e7e464152a73d8217c244bb38626" #2">Gesuchte T&auml;tigkeit</a></td> <td><a href=" #3">Gesuchte T&auml;tigkeit</a></td> </tr> </table> <form action="bewerbung.php" method="post"> <input type="hidden" name="cmd" value="send"> <input type="hidden" name="login" value="?SID=0b04e7e464152a73d8217c244bb38626" #3">Gesuchte T&auml;tigkeit</a></td> </tr> </table> <form action="bewerbung.php?SID=0b04e7e464152a73d8217c244bb38626" method="post"> <input type="hidden" name="cmd" value="send"> <input type="hidden" name="login" value="sdi3"> <a name="1"> -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net

« previous php.general (#49863) next »