Menu

#2 Problem with open_short_tags

open
nobody
None
5
2009-06-30
2009-06-30
No

Hi, though I learned french at school, it is not easy to look through the software. Especially when you open index.php via a web server that ist half way up-to-date (apache 2.2) ;-)
The thing that is most annoying is the use of short open tags throughout the code. I had to make more than 100 replacements:
old: "<?=" new: "<?php echo "
old: "<\?[^p]" new: "<php "
old: "<p\?$" new: "<php "
the latter two are regular expressions ;-) After I did this, the code really worked :-) I did not know that "Période à consulter" is german, but one always learns ;-). And $PHP_SELF has been replaced by $_SERVER['PHP_SELF'] and so on...

Regards,
Werner

Discussion


Log in to post a comment.

MongoDB Logo MongoDB