• Welcome to Simple Machines Community Forum. Please login or sign up.
October 20, 2021, 12:32:09 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


Undefined variable: PHP_SELF

Started by emalbum, January 07, 2005, 11:53:38 PM

Previous topic - Next topic

emalbum

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?

Advertisement: