Skip to content

Simple PHP banner ad script that requires no MySQL

License

Notifications You must be signed in to change notification settings

PhilTanner/PHPads

 
 

Repository files navigation

PHPads

Simple PHP banner ad script that requires no MySQL

Recommended minimum Apache configuration:

# Stop people viewing the directory contents
<Directory "<Insert your root install path here>">
  Options -Indexes
</Directory>
# Stop people viewing your config file (accessing password to admin etc)
<FilesMatch "^ads.dat$">
  Require all denied
</FilesMatch>
# Stop people other than you accessing your admin tool
<FilesMatch "admin.php">
  Order deny,allow
  Deny from all
  Allow from <Insert your IP address here>
</FilesMatch>
# Stop people re-installing the application
<FilesMatch "install.php">
  Require all denied
</FilesMatch>
# Stop people viewing the .git history
<DirectoryMatch "\.git">
  Require all denied
</DirectoryMatch>
# Stop people browsing through your old upload files
<DirectoryMatch "uploads">
  Options -Indexes
</DirectoryMatch>

About

Simple PHP banner ad script that requires no MySQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 75.2%
  • PHP 16.8%
  • CSS 4.4%
  • JavaScript 3.6%