Re: Displaying PHP-File

From: Date: Thu, 10 Aug 2000 08:39:40 +0000
Subject: Re: Displaying PHP-File
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-11092@lists.php.net to get a copy of this message
Martin Thoma wrote:
Brian Clark wrote:
Niklas Brunlid wrote:
"include" needs parantheses (sp?): include("ShowForm.php"); (strangely enough, the first example at "http://www.php.net/manual/function.include.php" has none... weird).
Nope, they're not required. include 'foo.inc.php'; works fine.
.. it doesn't work fine (with or without {}) when reading the file into a variable and printing it out :-(
What version of PHP are you running? Are you pages showing the actual code in your browser or is it just a blank page?
Regards Martin -- 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


« previous php.general (#11092) next »