RE: [PHP] Super newbie question with Hello world! statement

2001-10-20 Thread MINI2

Dump all the extra html tags and just put 
?php
phpinfo();
?

in the file and see if that works.

Cheers
Casey

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, October 20, 2001 7:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Super newbie question with Hello world! statement

I have been trying for several hours to get this going but I can't. Any
suggestions?

html
body
   ?php
  phpinfo();
?
/body
/html

Also I have this extremely complex program:
html
body
?php
phpinfo();
?
/body
/html

In both cases the programs are named something.php

Thanks for your help.

Evan P.


-- 
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]




RE: [PHP] html files with ext .php3 and upgrade to php4

2001-10-19 Thread MINI2

No, just make sure you configure the .php3 extension as you would .php,
.phtml, etc.  You could make it .MyWierdExtension as long as Apache
knows that files of that type are PHP and need to be processed.

Cheers
Casey Swenson
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 19, 2001 1:18 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] html files with ext .php3 and upgrade to php4

We just upgraded to php4 but many of our html files end with the
extension
.php3 - will this be a problem?

-- 
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]