ini_set

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
erwanpia
Posts: 39
Joined: Wed 21. Apr 2004, 10:28
Location: Breizh - Europa
Contact:

ini_set

Post by erwanpia »

be careful, you have used ini_set on some pages (login.php and phpwcms.php) to set register_globals off , this is very good practise but...

some shared hosts (such as online.fr) don't like this one and display a warning when it is used, and therefore the headers are sent before the cookie or something like that and I couldn't login until I removed this line in both pages. of course the solution would be to set register_globals off manually but again this a shared host with limitations...

and again well done I am about to try out RC4 .... I'll let you know when my online gallery is on...
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I think it's better to get such warning - in the fact you know that there might be a security problem by using register_globals ON. This is really an unrecommend setting and I would tell my provider to allow this change.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Locked