UseBB Community

The official board for UseBB help and discussion

UseBB Community » Chit Chat » Need to ask a PHP Guru for some help....

Need to ask a PHP Guru for some help....

Page: 1

Author Post
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
I host a php website written by someone who has a basic understanding of PHP but is obviously not an expert.

The website http://browningorchids.co.nz/ requires me to have [ register_globals = On ] which I understand is a bad move these days.

Question: how do I ask him to amend the code so that I can turn it OFF without breaking his site? Is there a simple solution? Is it hard to find the offending code that needs rewriting?

Or shall I turn it OFF and pretend I know nothing :P
Developer
Registered: Apr 2004
Posts: 2195
Location: Belgium
For a quick fix, you can put variables in the global scope using extract(): http://be.php.net/manual/en/function.extract.php
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Chit Chat » Need to ask a PHP Guru for some help....

UseBB Community is powered by UseBB 1 Forum Software