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:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 3:30 PM
> To: kaab kaoutar; [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to