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);
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);
Thanks,
John
--
John Taylor-Johnston
-
If it's not Open Source, it's Murphy's Law.
' ' 'Collège de Sherbrooke:
ô¿ôhttp://www.collegesherbrooke.qc.ca/languesmodernes/
- 819-569-2064
°v° Bibliography of Comparative Studies in Canadian, Québec and Foreign
Literatures
/(_)\ Université de Sherbrooke
^ ^ http://compcanlit.ca/ T: 819.569.2064
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php