Re: Is echo tag reasonably portable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Every server I work on is set to not allow short tags, and I work on
> > about 7 different state, federal, and commercial ones.
> 
> Why turn off short tags? Does that make things more secure?

In some respects it does because it means shortcuts are not allowed, it
also means that someone trying to hack through your site is going to be
held to a higher standard (ASP tags are cut off as well, the only thing
recognized and executed is PHP).  Even CGI scripts reside in their own
directory and are called/executed from others.

for instance most of my scripts/functions are run from a
/share/php/functions directory instead of from the spot on the server. 
Portability.  :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux