| Webspace & Domain Names This is a discussion on, What are the chances ... within the Freedom2Surf forum; I just found out that there is a cool way that PHP and Apache can colorize your source code. All ... |
![]() |
![]() |
|
LinkBack | Thread Tools | ![]() |
|
|
#1 |
|
Join Date: Jul 2002
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
|
What are the chances ...
I just found out that there is a cool way that PHP and Apache can colorize your source code. All you need to do is rename your php file with a '.phps' extension. If the Apache config file has the following directive:
AddType application/x-httpd-php-source .phps the you will see your code colorized in your browser. F2S apparently doesn't have Apache set up with the above-mentioned config directive for Apache. So, what do you think the chances are of them granting my request if I were to ask them to alter the Apache config file? |
|
|
|
|
|
#2 |
|
Join Date: May 2002
Posts: 4,339
Thanks: 4
Thanked 3 Times in 3 Posts
|
Re: What are the chances ...
A long time ago this was enabled, but not anymore, and I can't see them changing it either.
__________________
Justin Tiscali User |
|
|
|
|
|
#3 |
|
Join Date: Mar 2004
Location: Northamptonshire
Posts: 5,351
Thanks: 3
Thanked 15 Times in 15 Posts
|
Re: What are the chances ...
Pigs might fly unfortunately.
__________________
Kim Tiscali User Forum Ninja |
|
|
|
|
|
#4 |
|
Join Date: Jul 2002
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: What are the chances ...
Thanks, Justin and Chaz.
So, let me guess, they don't have that directive anymore b/c if it were enabled it might impact the speed of the web server? It's not like I need this directive terribly, but it would save me from having to use the PHP highlight_file(). Regards, |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I improve my chances? | Hyster | Freedom2Surf Broadband | 4 | 12-05-2007 03:32 PM |
All times are GMT. The time now is 02:06 AM.








