Hi, everyone!
I wrote a perl script which extracts data from mysql table and prints those data to html table. Those data include MAC, IP addresses, dates, times, etc. Now, what I did next was - I turned each MAC address into a link, like this:
while($Row=$Select->fetchrow_hashref)
{
print "<tr><td><a href=\"/cgi-bin/oMAC.pl\" target=\"_blank\">$Row->{MAC} </a> <td>$Row->{IP} <td>$Row->{date} <td>$Row->{time}";
}
As you can see, this link points to another perl script (oMAC.pl). I'd like that script to print out all the information about the MAC address I click on. But click on a link doesn't produce any post information, so I don't know how to make my script recognize which MAC address I clicked on.
Any suggestions?
I'd really appreciate it.
I wrote a perl script which extracts data from mysql table and prints those data to html table. Those data include MAC, IP addresses, dates, times, etc. Now, what I did next was - I turned each MAC address into a link, like this:
while($Row=$Select->fetchrow_hashref)
{
print "<tr><td><a href=\"/cgi-bin/oMAC.pl\" target=\"_blank\">$Row->{MAC} </a> <td>$Row->{IP} <td>$Row->{date} <td>$Row->{time}";
}
As you can see, this link points to another perl script (oMAC.pl). I'd like that script to print out all the information about the MAC address I click on. But click on a link doesn't produce any post information, so I don't know how to make my script recognize which MAC address I clicked on.
Any suggestions?
I'd really appreciate it.