Enabling PHP
#1
Posted 11 December 2006 - 06:04 PM
#2
Posted 11 December 2006 - 07:50 PM
AddType application/x-httpd-php .html .htm
#3
Posted 11 December 2006 - 08:17 PM
Edited by PrisM, 11 December 2006 - 08:21 PM.
#4
Posted 11 December 2006 - 09:25 PM
Why don't you just change it to .php files. Second, are you even sure that you have php installed on your server?
Do this:
create a file called phpinfo.php and place this code inside the file:
<?php phpinfo(); ?>
Run that file through your browser and report the details.
#5
Posted 12 December 2006 - 12:30 PM
The page that im looking for the php to display on is http://www.toon-work...cott-brown.net/ at the bottom in the stats pannel the date should appear.
#6
Posted 12 December 2006 - 12:32 PM
#7
Posted 12 December 2006 - 12:54 PM
#8
Posted 12 December 2006 - 05:33 PM
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName my authname
AuthUserFile my authuserfile
AuthGroupFile my group file
Where do i add that part of code into it?
#9
Posted 12 December 2006 - 06:33 PM
AddType application/x-httpd-php .html .htm
#10
Posted 12 December 2006 - 06:43 PM
Chaos King, on Dec 12 2006, 11:33 PM, said:
AddType application/x-httpd-php .html .htm
Notice how after all this it ends up you have to do what he said to do in the first place? It helps to listen.
"Its helps to click click, not cluck cluck"
#11
Posted 12 December 2006 - 07:15 PM
#12
Posted 12 December 2006 - 09:45 PM
If you're trying to do this because you have a hundred html files on your server and you don't want to rename them all, php could easily rename them for you with the file functions and str_replace().
#13
Posted 12 December 2006 - 10:04 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
