Menu

#9 use full PHP tag instead of shorttag

v1.0
closed
nobody
None
5
2018-07-09
2006-11-12
No

For maximum portability, the script should use the
full PHP escape tag '<?php' instead of the short
form '<?'. They occure on line 1 and 167 for version
0.9.3.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I agree. The fix is to add <?php at the beginning of the script and then at line 167 use:

    $objdata = "<?"."php".chr(13).chr(10)."//".serialize($this->data).chr(13).chr(10);

    (The PHP tag is concatenated from split segments, otherwise the PHP engine would think we are opening a new PHP tag in the running script)

     
  • Fabrício Seger Kolling

    • status: open --> closed
    • Group: --> v1.0_(example)
     
  • Fabrício Seger Kolling

    The new version has this bugfix.
    Thanks for the notice!

     

Log in to post a comment.