I posted a message earlier about not validating and tracked a php problem back to my ISP. They told me that php code would not run within an HTML file. Well, we have fixed that. Anyway now when I test for the ads and run the new 304 script, I see that the text file is populated but it doesnot display correctly. I only get a less than sign < and nothing else. Any ideas?
It appears that $_SERVER['DOCUMENT_NAME'] does not return any value. When I search the PHP.net website and check for valid $HTTP_SERVER_VARS, the document_name is not listed as a valid parameter. What am I missing? Thanks Jeff
It turns out that my site does not have the document_name variable activated. So I change the ad_network script to if (substr (@$_SERVER['REQUEST_URI'], -6) == '.shtml' || $_SERVER['REQUEST_URI'] == '/') { Now I can validate and display ads correctly.