Reply to Re: [PHP] diplaying code in pages and forums ??

Your name:

Reply:


Posted by Miles Thompson on 08/05/05 14:54

Well, it took about 5 min - checking the PHP site for "display" and then
for "source".
That lead to the display_source() function, an alias for highlight_file(),
which itself had a link for highlight_string(). These functions display PHP
source with syntax highlighting.

It is a fine manual; please Read The Fine Manual.

Side note: Use of other's code, such as Exponent CMS, does not absolve one
of the responsibility to understand the language, nor of the need to
wrestle with these things on one's own. Did you know there was a whole
thread within the last week on this v. issue?

Regards - Miles Thompson

At 06:49 AM 8/5/2005, Gregory Machin wrote:
>HI
>
>Please advise.
>I'm using exponent cms and I creating a technical site,
>I want to display code examples , how do I do this and with syntax
>highlighting,
>--
>Gregory Machin
>greg@linuxpro.co.za
>gregory.machin@gmail.com
>www.linuxpro.co.za
>Web Hosting Solutions
>Scalable Linux Solutions
>www.iberry.info (support and admin)
>www.goeducation (support and admin)
>+27 72 524 8096
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация