Re: Browsers don't see PHP scripts?!

From: Date: Wed, 30 Aug 2000 07:11:13 +0000
Subject: Re: Browsers don't see PHP scripts?!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-14329@lists.php.net to get a copy of this message
Not all servers understand all php tags ?. As far as I know, once you have PHP engine installed and running in your webserver, all the php tags WILL be understood by the servers and will be executed properly. '<?' is the tag reference for PHP tags which can be modified / changed by changing the PHP configuration, including the .php file extension. It's not a MUST that all the php files should have .php as it's file extension. ~ Karthick > > If I'm not mistaken, not all servers understand all php tags. > > For example, some servers may accept <?php others may not. > For the server to understand <? tags I think short tags have to be > enabled.... another tag ref <%, I think requires something to be enabled > ref asp tags...... > > It should be somewhere in the manual re: syntax, in the intro section. > > Ken > > <head> > > <title>Example</title> > > </head> > > <body> > > <B> PHP test </B> > > <?php echo "Hi, I'm a PHP script!"; ?> > > > > <? echo ("this is the simplest, an SGML processing instruction\n"); ?> > > > > -- > 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 >

« previous php.general (#14329) next »