Re: A Review Request
| From: | Shawn McKenzie | Date: | Thu, 19 May 2011 15:32:18 +0000 |
| Subject: | Re: A Review Request | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312914@lists.php.net to get a copy of this message | ||
On 05/18/2011 02:22 PM, tedd wrote:
> Hi gang:
>
> I am considering providing PHP code to the general public via my website
>
> This is my first attempt:
>
> http://sperling.com/php/authorization/
>
> What do you people think?
>
> Cheers,
>
> tedd
>
I have to agree about the braces, but at our ages that's not going to
change :-)
My suggestion would be to use syntax highlighting. Geshi is a very good
one that supports lots of languages/syntaxes, but PHP's highlight_file()
and highlight_string() do an adequate job.
As the site grows and you have PHP, HTML, CSS, JS and maybe INI files
and SQL, then Geshi would handle all of these.
--
Thanks!
-Shawn
http://www.spidean.com