Re: [PHP] Avoiding Repeat Posts

2003-01-04 Thread Charles likes PHP
How about saving a timestamp when the user posts a message and when he posts
another message check whether the user already posted a message in the past,
let's say, minute. I saw this used in a lot of forums...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Get your *own* IP...?!

2003-01-06 Thread Charles likes PHP
Does anyone know a way to fetch your own IP-adress? I need it because I run
a web server on my computer with a dynamic-IP so I need it to change all the
URLs it creates dynamically...

Thanks!

-Charles



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Get your *own* IP...?!

2003-01-06 Thread Charles likes PHP
I use Windows XP Pro...:-S


"Charles Likes Php" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know a way to fetch your own IP-adress? I need it because I
run
> a web server on my computer with a dynamic-IP so I need it to change all
the
> URLs it creates dynamically...
>
> Thanks!
>
> -Charles
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Get your *own* IP...?!

2003-01-06 Thread Charles likes PHP
No, it has to be an absolute path...

$_SERVER["SERVER_ADDR"] seems to be empty on my system and I couldn't find
anything about that variable in the manual either...

Aaargghhh!

"Charles Likes Php" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know a way to fetch your own IP-adress? I need it because I
run
> a web server on my computer with a dynamic-IP so I need it to change all
the
> URLs it creates dynamically...
>
> Thanks!
>
> -Charles
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php