RE: [PHP] phpinfo ?
| From: | H. Wade Minter | Date: | Fri, 26 Jan 2001 22:47:00 +0000 |
| Subject: | RE: [PHP] phpinfo ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36905@lists.php.net to get a copy of this message | ||
That's incorrect, at least under PHP4. I've got the following file that
does the phpinfo stuff perfectly:
#### BEGIN FILE
<? phpinfo() ?>
#### END FILE
On Fri, 26 Jan 2001, John Guynn wrote:
> Actually what you need is <?php echo phpinfo(); ?> otherwise you're never
> going to get anything on the screen.
>
> John Guynn
>
> This email brought to you by RFCs 821 and 1225.
>
>
> -----Original Message-----
> From: Robert Collins [mailto:rcollins@Insight.com]
> Sent: Friday, January 26, 2001 3:30 PM
> To: kaab kaoutar; php-general@lists.php.net
> Subject: RE: [PHP] phpinfo ?
>
>
> looks like you forgot the semi-colon (;) at the end of phpinfo();
>
> Robert W. Collins
> [snip]
> ----- Original Message -----
> From: "kaab kaoutar" <kaab_k@hotmail.com>
> To: <php-general@lists.php.net>
> Sent: Friday, January 26, 2001 10:23 AM
> Subject: [PHP] phpinfo ?
>
>
> > Hi there!
> >
> > I'm sure it's a stupid problem but the phpinfo does work while trying the
> > following html code:
> >
> > <html><head><title>PHP Test</title></head>
> > <body>
> > <?php phpinfo() ?>
> >
> > </body></html>
> >
> > the result is a blank page!
> [snip]
>
> --
> 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
>