Shoutbox
latest posts
member list
search
rules
contact
login
|
register
|
shoutbox
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
B000ALFAZO
Posts: 387
Reputation:
13
30 /
/
Joined: Oct 2006
O.P.
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
Nathan
Veteran Member
Yeah, "large dimensions" ;)
Posts: 2984
Reputation:
76
– /
/
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!
Feel the touch sensation in your fingertips
06-02-2007 08:44 PM
Baggins
Full Member
B000ALFAZO
Posts: 387
Reputation:
13
30 /
/
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.
06-02-2007 08:48 PM
WDZ
Former Admin
Posts: 7106
Reputation:
107
– /
/
Joined: Mar 2002
RE: Highlited source files
code:
AddType application/x-httpd-php-source .phps
06-02-2007 08:56 PM
Baggins
Full Member
B000ALFAZO
Posts: 387
Reputation:
13
30 /
/
Joined: Oct 2006
O.P.
RE: Highlited source files
* Baggins huggles 'DZ and NayNay
06-02-2007 09:00 PM
«
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:
Select Rating...
5 ... Best
4
3 ... Average
2
1 ... Worst
Forum Jump:
Please select one:
--------------------
Latest Posts
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Open Forum
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