Re: Re: Weird Stuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 14, 2014 at 5:05 AM, Tim Streater <tim@xxxxxxxxxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux