Hi !
I've just made the big leap from php3 to php4
Everything went fine till I noticed that my php pages weren't being rendered. The code all popped up as text on my browser.
I double checked my php.ini my httpd.conf and read other documentation helpful in fixing this.
I later found out that my pages do render but when it encounters a comment like this
// this is a comment
it ignores the "//"
I replaced it with / this type of commenting /
and it worked !
My problem with this is that 95% of my previous php scripts use the // kind of commenting.
Instead of search and replacing every single // to / /, is there a way I could tell my php to accept both formats as well ?
Much help needed !
Thanks !