On my Cpanel skin I need to parse html files as .php .
I added following .htaccess
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
but html are still not parsed as php .
Any idea to solve this ?
Thanks
On my Cpanel skin I need to parse html files as .php .
I added following .htaccess
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
but html are still not parsed as php .
Any idea to solve this ?
Thanks
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
Could you not make the file .php and then add
&?php
?&
to the top and bottom of the file?
Or does it have to stay .html .htm ?
Regards,
David
Forum Moderator
[quote:ebfe17ec3e][i:ebfe17ec3e]Originally posted by dgbaker[/i:ebfe17ec3e]
Could you not make the file .php and then add
&?php
?&
to the top and bottom of the file?
Or does it have to stay .html .htm ?
[/quote:ebfe17ec3e]
Is not more easy parse files instead of renaming 100 files ?
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
Sorry, did not realize you had that many to do.
Regards,
David
Forum Moderator
[quote:ccc49c2774][i:ccc49c2774]Originally posted by dgbaker[/i:ccc49c2774]
Sorry, did not realize you had that many to do. [/quote:ccc49c2774]
I am realizing a php/mysql cpanel , every data entered will be checked .
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
Some cpanel files must stay &html& as they are called directly via cpanel: counter and filemanager functions for example have all links hardcoded into cpanel. If Radio_Head wants to add php functionality to cpanel, then he/she needs to parse html as php. Good luck!
kosmo
http://netenberg.com/
AccountLab Plus Affordable professional webhosting billing
Click Be! Building websites as easy as it click be
Fantastico De Luxe - Install your favourite scripts at a mouse click
Universina - The CPanel skin with Heart and Soul
[quote:75f01572de][i:75f01572de]Originally posted by kosmo[/i:75f01572de]
Some cpanel files must stay &html& as they are called directly via cpanel: counter and filemanager functions for example have all links hardcoded into cpanel. If Radio_Head wants to add php functionality to cpanel, then he/she needs to parse html as php. Good luck!
kosmo[/quote:75f01572de]
Yes , I know some file need html (but only a 5% need it ) ; I am working on this project from about 40 days now . I have to complete the script section and I have finished.
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
&Some cpanel files must stay &html& as they are called directly via cpanel&
good to know, thanks for the heads up, although I think I'll solve this problem, when I come to it, with PHP include()s and/or symbolic links![]()
Get the Skinny - Cpanel Skinning Documentation Project
http://gwsa.net/skinny
It seems to me that it is impossible to parse html as php, because cpanel uses it's own apache configuration which is encrypted...
am I wrong?
I have html parsing php on my server already, but it does not affect cPanel at all.