ok, i have something just not sure how to modify on the pages from the cgi script if i wanted to ad a simple footer or a text file ect. i would need to <!--apf &apf_include=../html/TEXTFILE.htm!!--> Code (markup): and that works to include a text file so i tried <!--apf &apf_include=../html/ad_network.php!!--> Code (markup): and that produced look at the bottom of this page: http://www.web-site-hosting-n-tools...re-input_string-Virus+Firewall-locale-us.html in the location the ad should be again i have all my other pages working with the ads just fine just not the cgi produced pages.
The problem with that include is that it's a raw file include, rather than spinning it through the PHP parser. So it will just spit out the raw PHP code (as you see). If the include in your CGI supports URLs, you could do something like this: <!--apf &apf_include=http://www.web-site-hosting-n-tools.com/ad_network.php!!--> Code (markup): And add this to the end of the PHP file (before the closing PHP tags): echo $ad_network; PHP: If that works, you will also need to take out the following from your "normal" files: echo $ad_network; PHP:
well, no it wont work that way either i will keep tying, thier has to be a way?? i do have it on a good bit of pages on this site and have other sites that i will be useing this on. If you or anyone else has another idea...please,please let me know! thanks for the help so far i have learned a few things. so it was not a waste dave