Thread: Please Help
View Single Post
Old 04-12-2005, 03:48 PM   #7 (permalink)
nimaj
Registered User
 
Join Date: Jan 2004
Location: Poughkeepsie, NY
Posts: 18
nimaj is on a distinguished road
Send a message via AIM to nimaj Send a message via Yahoo to nimaj
Quote:
Originally Posted by DJMaze
TIP: Don't use <? but use the correct coding <?php
Open php.ini and change the short_open_tag directive to Off and you will understand.
Code:
short_open_tag = Off
Don't use $PHP_SELF, instead use $_SERVER['SCRIPT_NAME'] or basename(__FILE__)
I can understand not using short tags, but can you explain why $_SERVER['PHP_SELF'] shouldn't be used?
nimaj is offline   Reply With Quote