I use php with apache in windows 2000.
the code like this is ok. <?php .... ?>
but the code like <? ... ?> do not work.
Please let me know how to change PHP settings to fix it.
Thanks
Look for the "short open tags" directive in your php.ini file....
HTH,
You also might want to think about not using short tags, so you can be sure your script will work on all servers (at least as far as that part goes... :p)
Originally posted by pyro You also might want to think about not using short tags, so you can be sure your script will work on all servers (at least as far as that part goes... :p)
as for that, if you are hosting third party, just about all companies have short tags on and register globals on, more notably short tags on, since it is on by default
Yeah, now, you guys were around for this thread, right? 🙂