php_nub Posted May 18, 2010 Share Posted May 18, 2010 I am trying to offer some hosting of websites for little to no cost, but i want the people who use my hosting to have my service advertised on their sites. is there a way to make a php script that checks all the html and php documents in a directory to see if my service is mentioned and if not add it in at the bottom of the page? Quote Link to comment Share on other sites More sharing options...
Mchl Posted May 18, 2010 Share Posted May 18, 2010 See auto_prepend_file and auto_append_file directives here: http://php.net/manual/en/ini.core.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.