Little Help with this please - Works at times - Others Not

Discussion in 'PHP' started by worlddomain, Mar 19, 2008.

  1. #1
    http://www.research-domains.com/research.php

    The research script seems to work sometimes and sometimes - nothing happens

    Any ideas?... If someone can help - would be great :)

    If you need me to post the full script here let me know

    Thanks
     
    worlddomain, Mar 19, 2008 IP
  2. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For one, when you display the query the person searched for in the input box, use htmlentities() not addslashes(). As your page is now, it's vulnerable to XSS.

    Are you logging each of the steps that the script is going through? You could do that and track the time each step takes. The script is incredibly slow for me.
     
    Gordaen, Mar 20, 2008 IP