register_globals = ???
Posted by: kublik (---.nat.student.pw.edu.pl)
Date: January 31, 2006 08:01PM

Hello

There are some scripts like osCommerce, written on previous PHP versions, that need register_globals set to On. Well i did it with my WAMP server (change in php.ini), restarted all services and still the same error comes out. What may be the reason?

I wrote a simple code to ensure that register_globals was really set to Off

echo 'register_globals = ' . ini_get('register_globals') . "\n";

But the output of this, says that there is no value of register_globals at all !?!

Well I need some help with this, thanks in advance.

kublik


Options: ReplyQuote
Re: register_globals = ???
Posted by: kublik (---.nat.student.pw.edu.pl)
Date: January 31, 2006 08:09PM

Damn It !

The answer was easy, There are two php.ini files

one in \Apache2\bin
and second in \php

Make sure you edit the right one tongue sticking out smiley (whitch is of course the first on the list)

Thanks, Sorry for botherng you

Options: ReplyQuote


Sorry, only registered users may post in this forum.