What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Highlited source files

Highlited source files
Author: Message:
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
29 / Male / Flag
Joined: Oct 2006
O.P. Tongue  Highlited source files
In places I have seen files containing PHP source code, and the code is highlited.  The files were .phps files, and I've tried renaming them to that.

If anyone could help me out with this, It would be great.;)
06-02-2007 08:34 PM
Profile E-Mail PM Web Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
RE: Highlited source files
you sure there not using highlight_string ?

This post was edited on 06-02-2007 at 08:44 PM by Nathan.
Touch Innovation - touch friendly programs/applications for the windows mobile!


06-02-2007 08:44 PM
Profile E-Mail PM Web Find Quote Report
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
29 / Male / Flag
Joined: Oct 2006
O.P. RE: Highlited source files
Not really, but I don't understand why they would have the .phps extension.

I guess that I could make up a mime type to go with .phps files,
then use that with a Action directive in .htaccess to a highlighting script. :p
06-02-2007 08:48 PM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Highlited source files
code:
AddType application/x-httpd-php-source .phps
06-02-2007 08:56 PM
Profile PM Web Find Quote Report
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
29 / Male / Flag
Joined: Oct 2006
O.P. RE: Highlited source files
* Baggins huggles 'DZ and NayNay
06-02-2007 09:00 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On