RE: [PHP-GENERAL] Highlighted Syntax
| From: | Tyler Longren | Date: | Fri, 23 Jun 2000 06:35:53 +0000 |
| Subject: | RE: [PHP-GENERAL] Highlighted Syntax | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2746@lists.php.net to get a copy of this message | ||
I thought of dumping it to a temp file...but I thought there might have been
a more efficient way of doing it. I'm not sure why you get that error in
Win95/98 cuz I do all of my PHPing on UNIX and NT. Sorry. Thanks for your
help though.
On Fri, 23 Jun 2000, Andrew Braund wrote:
> Date: Fri, 23 Jun 2000 15:36:57 +0930
> To: <tyler.longren@midiowa.net>, <php-general@lists.php.net>
> From: "Andrew Braund" <abraund_news@mail.com>
> Subject: RE: [PHP-GENERAL] Highlighted Syntax
>
> <?
> show_source("filename");
> ?>
> Takes the source from a file and displays a coloured up version on your
> browser. You may have save your MySQL output to a file first, but I'm
> sure someone else will have a better way of doing it.
>
>
> Note: I have tried this on WinNT and it works. On Win95 or Win98 is does
> not work. I get the message;
>
> Warning: Failed opening 'c:\\htdocs\\examples\\php\\info.php' for
> highlighting in c:\htdocs\examples\php\info.php on line 28
>
> Any ideas why this is happening?
>
> Regards
> Andrew Braund
>
>
> > -----Original Message-----
> > From: Tyler Longren [mailto:tyler.longren@midiowa.net]
> > Sent: Friday, 23 June 2000 15:23
> > To: php-general@lists.php.net
> > Subject: [PHP-GENERAL] Highlighted Syntax
> >
> >
> >
> > Hello,
> >
> > I have some PHP code stored in a MySQL database. I want to
> > print this code
> > onto a webpage as pretty php. How do I do this? Thanks!
> >
> > Regards,
> > Tyler Longren
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>