Re: Re: Weird Stuff
| From: | Daniel P. Brown | Date: | Wed, 14 May 2014 13:10:33 +0000 |
| Subject: | Re: Re: Weird Stuff | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323310@lists.php.net to get a copy of this message | ||
On Wed, May 14, 2014 at 5:05 AM, Tim Streater <tim@clothears.org.uk> wrote:
>
> Then make a file containing these lines:
>
> <?php
> echo phpinfo ();
> ?>
Actually, you should just do:
<?php phpinfo();
Having the closing tag is unnecessary, and phpinfo() already
outputs the information. The echo preceding it will kick-out a 1
(boolean true) because the command returns true.
--
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/