- Messages
- 18,169
- Reaction score
- 216
- Points
- 63
Kindof a weird question that I'm not sure how to word, but I'll give it a shot:
In order to make my site easier to update for x10 ad's I'm rebuilding it so it loads everything in one php file - index.php. However, any extra content (pages for graphics, games, etc) is loaded through php includes found in another folder (root/contentincludes).
If I put the ad code on index.php and deny access to the contentincludes folder, would I still need to put the ad code on any php/html files in the contentincludes folder?
Example:
index.php includes news.php. news.php can't be opened directly due to an .htaccess file denying access to it. index.php has the ads, hence they're displayed on screen. Would news.php still need the ad code?
I'm hoping not, but I'd rather find out now than later.
Current plan: X10Static (easy way to get ad's ready without risking suspension)
In order to make my site easier to update for x10 ad's I'm rebuilding it so it loads everything in one php file - index.php. However, any extra content (pages for graphics, games, etc) is loaded through php includes found in another folder (root/contentincludes).
If I put the ad code on index.php and deny access to the contentincludes folder, would I still need to put the ad code on any php/html files in the contentincludes folder?
Example:
index.php includes news.php. news.php can't be opened directly due to an .htaccess file denying access to it. index.php has the ads, hence they're displayed on screen. Would news.php still need the ad code?
I'm hoping not, but I'd rather find out now than later.
Current plan: X10Static (easy way to get ad's ready without risking suspension)