[NTLUG:Discuss] php and apache question

Richard Strittmatter richard at mesh.net
Thu Dec 11 14:51:21 CST 2003


it is called short tags

you can turn it on with a .htaccess file in the directory that the php
programs are, or
in the code.

code 
<?php
ini_set('short_open_tag', 'on');
?>

.htaccess file
php_value short_open_tag on

if you have access to the php.ini file, you can set it there also.

Richard



> -----Original Message-----
> From: discuss-bounces at ntlug.org 
> [mailto:discuss-bounces at ntlug.org] On Behalf Of Jack Snodgrass
> Sent: Thursday, December 11, 2003 2:28 PM
> To: NTLUG Discussion List
> Subject: [NTLUG:Discuss] php and apache question
> 
> I've run into an issue that I haven't seen before. Maybe 
> someone else has seen this. 
> I have an apache server with php on it.  
> 
> <?php
> phpinfo();
> ?>
> works... but
> <?
> phpinfo();
> ?>
> just sends the plain text
> <?
> phpinfo();
> ?>
> to the user. 
> 
> Other servers I have work with just
> <?
> ?>
> this one that is causing me greif wants
> <?php
> ?>
> 
> anyone know why? 
> 
> jack
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list