Have you tried $PHP_SELF?

 A combination of $PHP_SELF, $REQUEST_URI, and phpinfo(), should give you
the information you're looking for.

-j
=P e p i e  D e s i g n s
 www.pepiedesigns.com
 Providing Solutions That Increase Productivity

 Web Developement. Database. Hosting. Multimedia.

On Mon, 6 Jan 2003, Charles likes PHP wrote:

> 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
>


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

Reply via email to