Advertisement:

Author Topic: Undefined variable: PHP_SELF  (Read 10479 times)

Offline emalbum

  • Semi-Newbie
  • *
  • Posts: 34
  • Gender: Male
  • I'm a llama!
    • emAlbum.com
Undefined variable: PHP_SELF
« on: January 07, 2005, 11:53:38 PM »
Hello,

I'm trying to get the bridge working with SMF 1 and Mambo 4.5.1a. I am using the 2.11 bridge and have attempted to follow all instructions, readme, etc.

However, in two of the modules, I am getting the following error:
Login Form
Notice: Undefined variable: PHP_SELF in D:\Program Files\Apache Group\Apache2\htdocs\modules\mod_smf_login.php on line 18

mod_smf_whosOnline
Notice: Undefined variable: PHP_SELF in D:\Program Files\Apache Group\Apache2\htdocs\modules\mod_smf_whosOnline.php on line 11

In looking at both files, the problem is $PHP_SELF instead of $_SERVER{'PHP_SELF'}

I know that I can just change these lines, but I even have register_globals = on and I still get this problem. Any other ideas?