Jump to content

Impius

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Impius's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. so if I'm understanding you correctly though purely PHP there's no way to pull the nasid and then us it to dertermine a varible?
  2. no I've been trying to do this purely through PHP, not sure if there is a function to actually do what I want or not I've been trying to use what I know of PHP (which mind you is limited) to do this.
  3. the NASID is basically a virtual serial code for any piece of hardware, motherboard, video card, sound car, ect in this case I'm concerned with the nasid of the router/modem that is accessing the page, I have the nasids of the hardware that I am working with so having those on hand isn't the issue.
  4. Ok, I've been beating my head against a wall trying to figure this coding out, what I'm trying to do is to use the nasid of the device accessing the page to display different images dependent upon the nasid that access the page, so far I've either gotten a syntax error or I've gotten a blank spot on the page where the image should be displayed. this is what I have so far... [code] <?php if (isset($_GET['nasid'])) { if ($_GET['nasid'] === 'nasid1') { $image = "nasid1image"; } elseif ($_GET['nasid'] === 'nasid2') { $image = "nasid2image"; } print "<img src=\"$image\">"; } [/code] Thanks in advance, Impius
  5. Greetings. I've just started to learn PHP and I need some help with a script, what I'm looking for is a script that will display an image if accessed by a specific IP address and an alternate image if accessed by any other IP. If any one could assist me in locating or writting a script that would preform those actions it would be greatly appreciated. [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /] Thanks in advance, Impius
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.