View Single Post
Old 10-19-2004, 06:33 PM   #5 (permalink)
younghistorians
Inactive
 
younghistorians's Avatar
 
Join Date: 10-13-03
Location: USA
Posts: 1,340
iTrader: 0 / 0%
Latest Blog:
None

younghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really niceyounghistorians is just really nice
I've decided to just do it like this:

Code:
<?php if($HTTP_GET_VARS['bio'] == 'cow') { $name = "Brian"; $age = "old"; $message = "j00 r3@11y 1i/<3 h@10 2 @10+ @Nd +h@+ \/\/i11 b3 @ $\/\/33+ g@M3. h0\/\/3v3r, i h@v3 gM@i1. "; } elseif($HTTP_GET_VARS['bio'] == 'phil') { $name = "Phil"; $age = "35"; $quote = "What?"; } elseif($HTTP_GET_VARS['bio'] == 'tom') { $name = "Tom"; $age = "14"; $quote = "I like PHP"; } ?> <html> <body> Hi <?php echo "$name" ?>...<?php echo "$message" ?> </body> </html>
How can I define a message for a user not in the list of users? i.e. a random non-registered visitor not known/recognized by me? Kinda like a catchall?
younghistorians is offline   Reply With Quote