Hi, what I'm trying to do is to write a script that will use the nasid of the device accessing the page be it either router or modem and change a picture that is displayed dependant upon if the nasid matches one on record, so far I've come up with the following
<?php
if (isset($_GET['nasid'])) {
if ($_GET['nasid'] === 'nasid1')
{ $image = "nasid1image"; }
elseif ($_GET['nasid'] === 'nasid2')
{ $image = "nasid2image"; }
print "<img src=\"$image\">"; }
however it does not seem to be working, at this point all that I'm looking for is a way to grab the nasid and then use it to determine a varible so if the script above is completely off and anyone out there does know a way to acomplish this please let me know.
Thanks in advance,
Impius