towards XHTML compliance

This commit is contained in:
gustav_delius
2004-09-12 13:21:01 +00:00
parent 24f2b65a4d
commit dcb1bd3c9a
251 changed files with 3265 additions and 2286 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
<?PHP
<?php
/// This is a tiny standalone diagnostic script to test that sessions
/// are working correctly on a given server.
///
@@ -9,14 +9,14 @@
session_start();
if (!isset($_SESSION["test"])) { // First time you call it.
echo "<P>No session found - starting a session now.";
echo "<p>No session found - starting a session now.";
$_SESSION["test"] = "welcome back!";
} else { // Subsequent times you call it
echo "<P>Session found - ".$_SESSION["test"];
echo "<P>Sessions are working correctly</P>";
echo "<p>Session found - ".$_SESSION["test"];
echo "</p><p>Sessions are working correctly</p>";
}
echo "<P><A HREF=\"session-test.php?random=".rand(1,10000)."\">Reload this page</A></P>";
echo "<p><a href=\"session-test.php?random=".rand(1,10000)."\">Reload this page</a></p>";
?>