Quick Authentication
Posted by Brian Moon
October 28, 2009 11:01AM |
Admin Registered: 20 years ago Posts: 8,532 |
It looks a bit like the $USER environment variable (that is set to "root" when the webserver is started) is loaded into the $USER global variable.
This indicates that your provider has the option "register_globals" enabled on the PHP configuration. You might want to inform them about this and request to disable that option. It's one of those ancient PHP quirks that the PHP people want to get rid of a.s.a.p. themselves, because it can cause security issues in code (not Phorum's code BTW, we are aware of this and do our utter best to prent security issues on any configuration).
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
This indicates that your provider has the option "register_globals" enabled on the PHP configuration. You might want to inform them about this and request to disable that option. It's one of those ancient PHP quirks that the PHP people want to get rid of a.s.a.p. themselves, because it can cause security issues in code (not Phorum's code BTW, we are aware of this and do our utter best to prent security issues on any configuration).
Maurice Makaay
Phorum Development Team



Quick Authentication + Avatar + Permissions January 04, 2010 12:52PM |
Registered: 15 years ago Posts: 6 |
Hi, I'm trying to integrate Phorum with my website using Quick Authentication, but I need to show the user's avatar on certain parts of the site, also I need to verify if the user has the permissions to see the page...
Can Quick Authentication help me to do that or do I need another module? What can I do? Any ideas?
Can Quick Authentication help me to do that or do I need another module? What can I do? Any ideas?
January 04, 2010 02:55PM |
Admin Registered: 20 years ago Posts: 8,532 |
Quick authentication is quick authentication. It checks whether the user is logged into Phorum or not. For the rest, there is no code. There's no magic cool way to have all of Phorum's goodies outside of the Phorum code. It can probably be done, but to me it seems like turning the world up-side-down. When you need all that Phorum stuff, then it's probably easier to create your pages through some module or by including much more of the Phorum core than the stripped down quick authentication alone.
But either way: not an easy job. You need to be a programmer to implement the functionality that you request for there.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
But either way: not an easy job. You need to be a programmer to implement the functionality that you request for there.
Maurice Makaay
Phorum Development Team



Re: Quick Authentication January 05, 2010 08:21AM |
Registered: 15 years ago Posts: 2 |
Sorry, only registered users may post in this forum.