Re: herf link to php page
- From: ZeldorBlat <zeldorblat@xxxxxxxxx>
- Date: Tue, 29 Apr 2008 09:46:02 -0700 (PDT)
On Apr 29, 12:39 pm, BigZero <vijaymajagaon...@xxxxxxxxx> wrote:
Hello ,
hey i need to send some information to php file that is i have more
then one ip address in my page that all r herf liked to show.php that
when u click on the any of the ip the show.php will display
i want to send any ip that the link is selected with click the link to
show.php
how do this thing,
well i have an table with the radio button and it's working fine but i
m try that with single link that is herf link. some body help...
Thanks
VM
If I'm understanding you correctly you have something like this:
<a href="http://192.168.1.42/show.php">Foo</a>
<a href="http://192.168.1.43/show.php">Bar</a>
<a href="http://192.168.1.44/show.php">Baz</a>
And, when someone clicks on these links, you want show.php to be able
to determine which IP address was used.
There's probably a better way to solve your problem, but, given what
you have, you should be able to get it inside show.php using
$_SERVER['HTTP_HOST'].
.
- Follow-Ups:
- Re: herf link to php page
- From: BigZero
- Re: herf link to php page
- References:
- herf link to php page
- From: BigZero
- herf link to php page
- Prev by Date: herf link to php page
- Next by Date: Re: I couldn't understand why PHP is so popular. The PHP code looks so horrible compared with Java.
- Previous by thread: herf link to php page
- Next by thread: Re: herf link to php page
- Index(es):