Page 1 of 1

.htaccess

Posted: Mon Jan 24, 2005 1:24 pm
by psychotomus
is there any to config this so it will display 2 files at once instead of once.

for example if i visit http://www.po2.net/tmp.php


it will first display http://www.po2.net/test.php then after display that it will display http://www.po2.net/tmp.php


understand?

im thinking about making a phpBB mod that will allow people to host websites to its users.

Problem is, people want a feature to be able to include a banner in the header or footer.

so when people upload test.html, they want a banner at the top of all there html or at the bottom. so i figured there might be a way to do that with the htaccess file.

Posted: Mon Jan 24, 2005 1:47 pm
by feyd
look at the php auto_include functionality..

Posted: Wed Jan 26, 2005 11:35 am
by psychotomus
how do I use this auto_include thing?

Posted: Wed Jan 26, 2005 11:43 am
by feyd
auto_prepend_file


I think you should be able to do:

Code: Select all

php_value auto_prepend_file "/full/path/to/file.php"
although I haven't tried it.

Posted: Wed Jan 26, 2005 12:29 pm
by psychotomus
that dont seem to work. keeps giving me t string error.