|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-09 12:42 UTC] stas at cvs dot php dot net
[2000-07-18 10:04 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 07:00:01 2026 UTC |
if(!isset($pim_user)){ print "Not logged in. \n"; print "<a class=blue href=\"index.php?mode=login\" >Login</a> | \n"; print "<a class=blue href=\"index.php?mode=reg_user\" >Register</a>\n"; } else { list($UserName) = $pim_user; print "Welcome $UserName. \n"; print "<a class=blue href=\"logout.php\" >Logout</a> | \n"; print "<a class=blue href=\"index.php?mode=user_update\" >User Info</a>\n"; } in php3 and if statement was false, it will show username from cookie (ie rtolman) with php4 and exact code I get out put of only first character of username. (ie r) I access this at a web hosting company, where php is executed out of my cgi-bin directory Please contact me if more info is neccessary at email above. Rob