Re: Problem with $PHP_SELF and possibly some others
| From: | Luís Sousa | Date: | Thu, 18 Sep 2003 20:52:13 +0000 |
| Subject: | Re: Problem with $PHP_SELF and possibly some others | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21442@lists.php.net to get a copy of this message | ||
what file, the php.ini or the script im using?
From: "Anthony Saffer" <anthonysaffer@yahoo.com> To: <php-windows@lists.php.net> Subject: Re: [PHP-WIN] Problem with $PHP_SELF and possibly some others Date: Thu, 18 Sep 2003 15:07:13 -0700 I had the same problem. For me, the solution was adding 'global $PHP_SELF' at the beginning of the file and it suddenly started working. Anthony ----- Original Message ----- From: "Luís Sousa" <piz_quicksalvador@hotmail.com> To: <php-windows@lists.php.net> Sent: Thursday, September 18, 2003 12:22 PM Subject: RE: [PHP-WIN] Problem with $PHP_SELF and possibly some others yeah, i can also run scripts, i stopped testing when that funtion didnt work tho so i dunno if i cant do any more funtions_________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.comFrom: "John Ellingsworth" <jellings@mail.med.upenn.edu> Reply-To: <jellings@mail.med.upenn.edu> To: Luís Sousa <piz_quicksalvador@hotmail.com> Subject: RE: [PHP-WIN] Problem with $PHP_SELF and possibly some others Date: Thu, 18 Sep 2003 15:08:24 -0400 Can you view a plain-jane html page in the same directory? Thanks, John Ellingsworth http://mail.med.upenn.edu/~jellings/ -----Original Message----- From: Luís Sousa [mailto:piz_quicksalvador@hotmail.com] Sent: Thursday, September 18, 2003 3:01 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Problem with $PHP_SELF and possibly some others i just recently installed apache2 on my computer and then php4.3.3, soicould test my scripts (im learnin) and I think im missing something configuring php, i was trying out my scripts and this message came up: Forbidden You don't have permission to access /<br /><b>Notice</b>: Undefined variable: PHP_self in <b>C:/site/assignement5advanced.php</b> on line <b>26</b><br /> on this server. i cant find anything related to php_self funtion on the php.net site,or atleast the search engine cant :P, someone has a clue on what it couldbe?_________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php_________________________________________________________________ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php