/ home / customer care

Knowledgebase
You are here: Support > Knowledgebase > Programming

PHP register_global Work-Around

PHP6 is going to remove the parameter of register_global. Below is an effective workaround.

Adding below 2 lines of code at the beginning of PHP script:

extract($_POST);
extract($_GET);


Was this answer helpful?

Add to Favourites
Print this Article

Powered by WHMCompleteSolution


Language:
Valid XHTML 1.1 Valid CSS Powered by Apache Powered by MySQL Powered by PHP UTF8 Charset Minimium 800x600 Resolution