Read the contents of the file into a variable and then output the contents
of the variable via print or echo.
-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 13, 2005 10:09 PM
To: php-general@lists.php.net
Subject: [PHP] include(sendmail.phps);
John Taylor-Johnston wrote:
I want to include a phps file. But would like it to display the coloured
formatting of a phps, instead of executing the code with in. Is this possible?
This does not work:
include(sendmail.phps);
http://www.php.net/highlight-file
--
PHP General Mailing List
2 matches
Mail list logo