I had a problem of using $_GET in inframe with phpfreechat and i traced down the issue a bit. I believe this has something to do with PHP management of memory.
But whatever, there's code which worked for me ( unset($params) is for security ). Put this on header:
- Code: Select all
extract($_GET);
unset($params);
Then if you want to access some variable from $_GET without crash, you use the & operator, so if you let's say want to access original $_GET['username'], you do:
- Code: Select all
$new_username = &$username;
This also applies for PHP5!!!
enjoy this fine release