+ Reply to Thread + Post New Thread
Results 1 to 3 of 3

Thread: How can I disable a script based on IP address??

  1. #1
    Noobie
    Join Date
    Apr 2008
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How can I disable a script based on IP address??

    Hey guys,

    Thanks in advance for your help.
    Im currently running v1rtual sm4rt ag3nt script on my site which is a virtual chat. I want to disable the pop up when I hit the site in from a particular IP address.

    what line of code would I put on the page to effect this??

  2. Shorten URL    SEO Services    Buy Xrumer

    Sponsored Links

  3. #2
    Noobie
    Join Date
    Apr 2008
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    is this not possible?

  4. #3
    Noobie
    Join Date
    Apr 2008
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm not totally familiar with vsa, but you'll nee to make an if statement in php where the javascript code is.

    So something like:
    PHP Code:
    if($_SERVER['REMOTE_ADDR'] != '123.456.789') {
    echo 
    '...vsa code, probable onunload or somethind';


+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts