d_barszczak Posted August 23, 2007 Share Posted August 23, 2007 Hi all, I am developing a sandpit area where php developed wannabe's car practice there coding and i would like somhow to force a banner at the bottom of the page with with something like Hosted by scripts2go.co.uk but no idea how to do this. I think i need to do this at apche level but not sure. All help would be much apreciated. Quote Link to comment Share on other sites More sharing options...
trq Posted August 23, 2007 Share Posted August 23, 2007 You can do this in the php.ini. Find the auto_append* directive and read the comments. Quote Link to comment Share on other sites More sharing options...
d_barszczak Posted August 23, 2007 Author Share Posted August 23, 2007 This would not work for html files though would it? Quote Link to comment Share on other sites More sharing options...
trq Posted August 23, 2007 Share Posted August 23, 2007 No it wouldn't. Im not at my machines so I cant read my httpd.conf, but it may be worth just reading through it to see if there is something simular. Be aware though that if you append any file, it wll most likely need to be a frame or something or your going to break other users code. Quote Link to comment Share on other sites More sharing options...
schme16 Posted August 26, 2007 Share Posted August 26, 2007 You can always set your apache to make html file get rendered by php by altering you httpd.conf to show this line: "AddType application/x-httpd-php .php .phtml .php5 .html" or add that to your .htaccess file, either way it will make html files work with 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.