Interesting. What PHP version are you using? (Maybe you could even send me what output phpinfo() gives)Obi_Wan wrote: Hehe. Nice idea. Well the funny thing with me is that my register_globals are off global and locally as the phpinfo says however phpbb still thinks it's on. Well. I will see that the future brings ^^.
register globals?
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Re: register globals?
Re: register globals?
I use php 4.4.1 at the moment. I'll send you the output via PM because not everyone has to know the link to a phpinfo file 
Re: register globals?
Stupid CVS... it changes...naderman wrote: phpBB3 will no longer allow the register_globals setting to be turned on.
Don't give me my freedom out of pity!
Re: register globals?
umm the host have said its turned on, but they have no plans to turn it off, is this bad?? the .htaccess wont control it either!
i hope i can still use phpbb!
i hope i can still use phpbb!
-
- Registered User
- Posts: 448
- Joined: Mon Jul 21, 2003 7:18 pm
- Contact:
Re: register globals?
This is VERY bad. I am astounded that a host who knows anything about what they're doing (which seems unlikely in this scenario) would leave globals on. It is a MASSIVE security risk.cellpack wrote: umm the host have said its turned on, but they have no plans to turn it off, is this bad?? the .htaccess wont control it either!
i hope i can still use phpbb!
- A_Jelly_Doughnut
- Registered User
- Posts: 1780
- Joined: Wed Jun 04, 2003 4:23 pm
Re: register globals?
I disagree about leaving it on: Register Globals are still used by far too many PHP applications. That isn't to say it isn't a security risk, but turning it off is a bad idea from a user's usability standpoint. Further, it is only a security risk if an insecure script is run on the server, and if other things on the server are set up securely, it would only be a risk for the user who uses an insecure application.
The good news: PHP developers are removing the feature in PHP6, along with magic quotes. Victory in canned pineapple!
The good news: PHP developers are removing the feature in PHP6, along with magic quotes. Victory in canned pineapple!
A_Jelly_Doughnut
Re: register globals?
How do you mean that? Will they remove register globals completely?A_Jelly_Doughnut wrote: The good news: PHP developers are removing the feature in PHP6, along with magic quotes. Victory in canned pineapple!
Re: register globals?
im not sure exactly how this works, but couldnt someone who wants to run phpBB3 on a host with them on just change a few lines in the installation script to make it not check?cellpack wrote: umm the host have said its turned on, but they have no plans to turn it off, is this bad?? the .htaccess wont control it either!
i hope i can still use phpbb!
Re: register globals?
Yes you can. I had to change one line to make it work with me because the installer didn't recognise on my server that register globals were off.
Re: register globals?
I just tried it and it worked. Heres what to do: (sorry if this breaks the rules)Obi_Wan wrote: Yes you can. I had to change one line to make it work with me because the installer didn't recognise on my server that register globals were off.
open install/install.php
find and delete
<tr>
<td>• <b><?php echo $lang['PHP_REGISTER_GLOBALS']; ?>: </b></td>
<td><?php
if (@ini_get('register_globals') || strtolower(@ini_get('register_globals')) == 'on')
{
$passed['db'] = false;
echo '<b style="color:red">' . $lang['NO'] . '</b>';
}
else
{
echo '<b style="color:green">' . $lang['YES'] . '</b>';
}
?></td>
</tr>