Antz
Member
Registered: 28th Jul 03
Location: Leeds Drives: Myself Insane!
User status: Offline
|
Hi guys & gals
Does anyone know if there is a way to use php to get the address of a LAN's router (the gateway address)
I know you can use php to get a remote address or a client address, but I need the gateway address 
Cheers folks.
|
Nismo
Member
Registered: 12th Sep 02
User status: Offline
|
The address will be interneal?
well if the router is using DHCP it will be and will only be able to get the Broadcast IP?
|
Antz
Member
Registered: 28th Jul 03
Location: Leeds Drives: Myself Insane!
User status: Offline
|
All my sites have similar IP Address', I need to write some code in to the pages that will pick up there gateway address and send them off to pages that concern only that site.
They are all static IP's but I need the gateway address.... and I need it via php lol.
[Edited on 13-05-2004 by Ant D]
|
Antz
Member
Registered: 28th Jul 03
Location: Leeds Drives: Myself Insane!
User status: Offline
|
No reason to worry now, the master has cracked it again!! lol
|