Menu

#7 <?php

open
nobody
None
5
2003-02-07
2003-02-07
Anonymous
No

On my site I have to modify first line of each *.php to
looks like:

<?php

Otherwise this files don't recognized as php.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    same with my site. Redhat 8.0 patched to latest versions

     
  • Juan-Carlos Furest

    Logged In: YES
    user_id=754775

    Me too, I use php 4.2.3 and apache 2.
    It seems that the newer web server has restricted the tags
    names.
    if the files contains only
    <?
    *****
    ?>

    the server will send directly the contens

    Hope that this little thing will be corrected asap

    regards
    Juan-Carlos

     
  • Nobody/Anonymous

    Logged In: NO

    but that's also a configuration option in php.ini. Try
    searching for the following line:

    short_open_tag = On

    if it is set to Off, tags like <? and ?> will not work. Set
    it to on and they will. This is not a bug in anything, it's
    simply a PEBKAC error.

     

Log in to post a comment.