By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

php on windows / PHP_SELF undefined

P: n/a
Hi all,
the problem i have is as followes:

i have a newly installed w2k server / iis 5 with php 4.3.5. When i start a
first testapplication, i get an error message:

Notice: Undefined variable: PHP_SELF in
E:\Inetpub\php4test.eventprofis.local\sloanedate\v 002\includes\functions.php
on line 20

So my silly newbie question: how can i solve this?

When looking at the manual, it says that php_self is NOT available at
command line mode, but i dont know how to change this.

Many thanks in advance.
Chris
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
*** chris wrote/escribió (Fri, 11 Jun 2004 11:29:13 +0200):
Notice: Undefined variable: PHP_SELF in
E:\Inetpub\php4test.eventprofis.local\sloanedate\v 002\includes\functions.php
on line 20


Try $_SERVER['PHP_SELF'] instead.

--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #2

P: n/a
Yep, this works ... thank you!

Chris
"Alvaro G Vicario" <al******************@telecomputeronline.com> schrieb im
Newsbeitrag news:1b******************************@40tude.net.. .
Try $_SERVER['PHP_SELF'] instead.

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.