Ads not validating - survey-machine.com

Discussion in 'Co-op Advertising Network' started by JoshuaGross, Oct 10, 2006.

  1. #1
    Ads aren't validating on survey-machine.com ... is there something wrong with the code I have?

    Josh
     
    JoshuaGross, Oct 10, 2006 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Your server is returning this:

    HTTP/1.1 200 OK
    Date: Tue, 10 Oct 2006 17:12:34 GMT
    Server: Apache/2.0.51 (Fedora)
    X-Powered-By: PHP/4.3.11
    Content-Length: 428
    Connection: close
    Content-Type: text/html
    
    <br />
    <b>Notice</b>:  Undefined index:  HTTP_USER_AGENT in <b>/home/httpd/vhosts/cortex-creations.com/httpdocs/php-frame/traffic.php</b> on line <b>86</b><br />
    <b>MySQL Query Failed</b><br /><br />You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1<br />/home/httpd/vhosts/cortex-creations.com/httpdocs/php-frame/db/mysql.php:277
    HTML:
     
    digitalpoint, Oct 10, 2006 IP
  3. JoshuaGross

    JoshuaGross Peon

    Messages:
    411
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ahh okay... so your script isn't sending a USER_AGENT header? I'll make sure my code isn't dependent on it. Thanks!
     
    JoshuaGross, Oct 10, 2006 IP
  4. JoshuaGross

    JoshuaGross Peon

    Messages:
    411
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    JoshuaGross, Oct 10, 2006 IP
  5. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #5
    Can you use a header redirect (301 or 302) instead of a meta refresh?
     
    digitalpoint, Oct 10, 2006 IP