SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast MeGa's Avatar
    Join Date
    Jul 2003
    Location
    Miami, FL
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    $_server['http_referer']

    the problem = http://www.geektools.com/whois.php

    ok, whois use a simple html text input name 'query', quich one put the ip address on. it has it method as POST, but it can also be reached by GET.

    ok, i made a php script in my site that will open this site in a new window (using target="_blank") (whois) with the ip in the querry,

    ex. http://www.geektools.com/whois.php?query=127.0.0.1

    but this shows me an error message:


    Hi.
    Due to the excessive load placed on our system, we have disabled the ability for third party sites to query the GeekTools Whois Proxy through the web interface. Please visit the GeekTools query page at http://www.geektools.com/whois.php to perform your query. You may also use a standard whois client and direct your queries to whois.geektools.com.



    but it doesn't do this when i open a new ie window right from my desktop and open that url.

    allright, all this tells me that $_SERVER['HTTP_REFERER'] is a *beep*

    now, how can i fix this? via javascript? how? thanks

  2. #2
    ********* Wizard silver trophy Cam's Avatar
    Join Date
    Aug 2002
    Location
    Burpengary, Australia
    Posts
    4,495
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    You could send HTTP headers to fool the script into thinking you're coming from a different referring URL but that's cheating and probably illegal. Your best bet would be to find out what you need to do and use whois.geektools.com.


Bookmarks

Posting Permissions

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