php question
Kurt Kessler
kessler2k at yahoo.com
Thu Nov 7 05:26:21 CST 2002
I am trying to learn php in my non-existent free time.
I have added a script to my webpage that will show
your IP address...blah blah blah, anyway, here is the
script:
"<?php
$thedate = date('H:n');
$theIP = $HTTP_SERVER_VARS['remote_host'];
echo 'Your IP: '.$theIP;
echo '<br>';
echo 'Time: '.$thetime;
?>"
(minus quotes of course) and here is the error showing
up on my site:
'; echo 'Time: '.$thetime; ?>
Anyone know what I did wrong here? Thanks for any
help.
Kurt
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
More information about the Kclug
mailing list