Brian Stempin on 30 Mar 2007 14:48:12 -0000 |
I downloaded the PHP source and obtained the default, untainted php.ini file. The following is a snippet: ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. ; NOTE: Using short tags should be avoided when developing applications or ; libraries that are meant for redistribution, or deployment on PHP ; servers which are not under your control, because short tags may not ; be supported on the target server. For portable, redistributable code, ; be sure not to use short tags. short_open_tag = On By default, 'short open' tag (sometimes referred to as an ASP tag) is on. Perhaps this should be checked? At any rate, I think it might be a good idea to open the php code with <?php just to test. On 3/30/07, Marc Zucchelli <marcz908@yahoo.com> wrote: Actually, I could be wrong, I don't have a default php.ini file handy. I think <? ?> does NOT work by default, and you have to change a setting in php.ini to get it to work. <?php ?> will always work. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|