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

2003-01-07 Thread Tom Rogers
Hi, Tuesday, January 7, 2003, 6:45:43 AM, you wrote: ClP> Does anyone know a way to fetch your own IP-adress? I need it because I run ClP> a web server on my computer with a dynamic-IP so I need it to change all the ClP> URLs it creates dynamically... ClP> Thanks! ClP> -Charles I think you shou

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

2003-01-07 Thread Jason Wong
On Tuesday 07 January 2003 20:28, [EMAIL PROTECTED] wrote: > Then you write a short script, that whenever IP changes then start it anew. > You don´t have to make it public. Right, so what if people like your site so much and they bookmark a particular page? -- Jason Wong -> Gremlins Associates

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

2003-01-07 Thread info
Oh man, Then you write a short script, that whenever IP changes then start it anew. You don´t have to make it public. - Original Message - From: Chris Hewitt To: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 1:20 PM Subject: Re: [PHP] Get your *own* IP...?! [EMAIL

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

2003-01-07 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: $MYIP has now your dyn IP Adress. Yes. So make up a URL with it and _hope_ that when a user clicks it the address has not changed. My point was simply that, for a server, the server FQDN hostname should be fixed and never change. Use the hostname in any URL and avo

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

2003-01-07 Thread info
likes PHP Cc: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 12:22 PM Subject: Re: [PHP] Get your *own* IP...?! Charles likes PHP wrote: >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 t

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

2003-01-07 Thread Chris Hewitt
Charles likes PHP wrote: 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... Maybe I'm not understanding your situation properly so please correct me if I'm wrong

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

2003-01-07 Thread info
Hello Michael, please go to your Bash-Shell. There you type: MYIP=`/sbin/ifconfig ppp0 grep inet | cut -d: -f2 | cut -d" " -f1` ; $MYIP has now your dyn IP Adress. Best regards, Oliver Etzel --- [EMAIL PROTECTED] Phone +49 89 54071102 N

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

2003-01-06 Thread Michael Ott
Hallo Charles > 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... > Look at dyndns.org. Here you can get your own dns-entry CU Michael

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

2003-01-06 Thread Tracy Finifter Rotton
Use the super-global variable $_SERVER['SERVER_ADDR'] (or another solution might be to generate relative, rather than absolute, URLs: /somedir/somepage.php instead of http://192.168.1.1/somedir/somepage.php) On 1/6/03 12:45 PM, "Charles likes PHP" <[EMAIL PROTECTED]> wrote: > Does anyone know a

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

2003-01-06 Thread Kevin Stone
In Apache it's $_SERVER['SERVER_ADDR'] But I don't know if this applies to IIS as well. -Kevin - Original Message - From: "Charles likes PHP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 1:45 PM Subject: [PHP] Get

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