RE: [PHP] phpinfo ?

From: Date: Fri, 26 Jan 2001 22:54:53 +0000
Subject: RE: [PHP] phpinfo ?
Groups: php.general 
Request: Send a blank email to php-general+get-36907@lists.php.net to get a copy of this message
I've always used the echo and it does work under PHP4...just tested it on www.teamkaos.org before I made my post. John Guynn This email brought to you by RFCs 821 and 1225. -----Original Message----- From: H. Wade Minter [mailto:minter@lunenburg.org] Sent: Friday, January 26, 2001 4:47 PM To: John Guynn Cc: Php (E-mail) Subject: RE: [PHP] phpinfo ? 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 [snip] > -----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]

« previous php.general (#36907) next »