cvs: php-gtk-web /manual set-magic-cookie.php
| From: | Colin Viebrock | Date: | Thu, 09 Aug 2001 17:21:46 +0000 |
| Subject: | cvs: php-gtk-web /manual set-magic-cookie.php | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2674@lists.php.net to get a copy of this message | ||
cmv Thu Aug 9 13:21:46 2001 EDT
Modified files:
/php-gtk-web/manual set-magic-cookie.php
Log:
i can't code today ...
Index: php-gtk-web/manual/set-magic-cookie.php
diff -u php-gtk-web/manual/set-magic-cookie.php:1.2 php-gtk-web/manual/set-magic-cookie.php:1.3
--- php-gtk-web/manual/set-magic-cookie.php:1.2 Thu Aug 9 13:13:08 2001
+++ php-gtk-web/manual/set-magic-cookie.php Thu Aug 9 13:21:46 2001
@@ -6,10 +6,11 @@
commonHeader('Magic Cookie');
echo '<h1>Magic Cookie</h1>';
echo "<P><b>Cookie set</b>.</P>";
-}
-if (isset($MAGIC_COOKIE)) {
+} else {
commonHeader('Magic Cookie');
echo '<h1>Magic Cookie</h1>';
+}
+if (isset($MAGIC_COOKIE)) {
list($user,$pass) = explode(":", base64_decode($MAGIC_COOKIE));
}