corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » PHP & Gateway Address


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author PHP & Gateway Address
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
13th May 04 at 10:20   View User's Profile U2U Member Reply With Quote

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
13th May 04 at 10:22   View User's Profile U2U Member Reply With Quote

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
13th May 04 at 10:27   View User's Profile U2U Member Reply With Quote

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
13th May 04 at 10:35   View User's Profile U2U Member Reply With Quote

No reason to worry now, the master has cracked it again!! lol

 
New Topic

New Poll

Corsa Sport » Message Board » Off Day » PHP & Gateway Address 23 database queries in 0.0210910 seconds