Forums

PHP

This topic is locked

Upgraded PHP, now it won't log in!! :(

Posted 12 Dec 2002 16:16:14
1
has voted
12 Dec 2002 16:16:14 Julio Taylor posted:
hey

running PHP in Win2k with IIS5... I recently updated PHP to the new version (4.2 i think). Now the login behaviours don't work and it causing me no end of grief. Anyone know why? I have tried to create a new login page but it won't work at all..... <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>

i have no idea what to do, the entire site is locked out and i have tried everything. I can't find the previous version and i can't remember what exact version it was anyway..... <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>

H E L P!

------------------------
Julio

PHP | MySQL | UD4

ICQ: 19735247

Replies

Replied 12 Dec 2002 16:44:31
12 Dec 2002 16:44:31 Brent Colflesh replied:
Dear Julio,
Perhaps your scripts relied on magic quotes being on - add an .htaccess file to the root directory of your site with the following line in it:

php_value magic_quotes_gpc 1

Regards,
Brent

Replied 16 Dec 2002 10:51:15
16 Dec 2002 10:51:15 Michael Guntenaar replied:
I think you just spotted the security update <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

I think you just collect te variable like $username, $password, this doesnt work anymore (unless you change your ini file)

Of you use a post method use $_POST[ 'username' ] if you use GET use

$_GET[ 'username' ] to collect te values

<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replied 17 Dec 2002 13:06:19
17 Dec 2002 13:06:19 Jon Stanton replied:
I had the same problem. I'm fairly sure it was fixed by editing php.ini:

set register_globals = On

Hope this helps.

Jon
Replied 13 Jan 2003 11:50:26
13 Jan 2003 11:50:26 Julio Taylor replied:
ah thanks guys, i had to edit the php.ini like you said, and also suppress the error reporting on it.

GOD DAMNIT.

------------------------
Julio

PHP | MySQL | UD4

ICQ: 19735247

Reply to this topic