1)Hi please take a look at this:
test.php
<?
$ip = $REMOTE_ADDR;
print("$ip");
?>
It works,right?Okay, what if I want to track a user's ip and insert it into
MySql database. I did try the following way:
<?
.....
.....
$ip = $REMOTE_ADDR;
.....
$query="insert into mytable values('$ip')";
..
?>
But, it failed to perform what I wanted. I don't know why.My question is:
Is there anyway to do the trick for me, or could anyone please help me to
figure out why?Any solution?
2)What's the difference between a webportal and a community?In my confusion,
I thought both of them are almost the same, they are equiped with forum,guest book,
membership registration....
3)I saw there is one kind of variables in MySQL called timestamp, so what does
it mean?Recording the current time while data is being inserted?And, how do I
use it?
Thank you very much,
Regards,
none
jimcurry@hotpop.com