PDA

View Full Version : Super Globals



dataman
04-12-2009, 06:15 AM
I'm finally getting around to converting some of the corporate apps to PHP5. As part of this effort, I'm moving to global registration= off. Would appreciate which super global I need to use to bring html parsed variables into a local scope on the receiving program as in:

http://www.someplace.com/pg1.php?var1=TT4

Looking at bringing $var1 to scope in pg1.php .

Thanks,

DataMan

Solution:

$var1 = $_GET['var1'];