I just installed PHP on my com, while preparing my new layout i got this error
Notice: Undefined variable: PHP_SELF in f:\apache\htdocs\index.php on line 68
hmm, do I have to turn the predefined variables on? is it only a unix thing?
sorry, im used to just uploading files onto my server and editing them there..
Probably a really easy question...
Moderator: General Moderators
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
remember jason told us that
so...that explains it....
Code: Select all
<?php
register_globals=Off by default from 4.2.0
?>ok so then do this:
do a find for "$PHP_SELF" and replace with the following:
do a find for "$PHP_SELF" and replace with the following:
Code: Select all
<?php
$_SERVERї'PHP_SELF']
?>- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact: