Hello,
I have a question:
The function request_var('config') is prefered instead of $_REQUEST['config']? If yes, in php file includes/acp/acp_board.php, there is a $_REQUEST['config'].
See you soon,
[Question] About $REQUEST['config']
Forum rules
Please post any phpBB 3.1.x related topics in the phpBB 3.1.x discussion forum.
Please post any phpBB 3.1.x related topics in the phpBB 3.1.x discussion forum.
-
- New member
- Posts: 49
- Joined: 12 Nov 2008, 01:26
- Real name: Daniel
- Location: Belgique
Re: [Question] About $REQUEST['config']
Yes it is prefered. It also applies for $_POST and $_GET. request_var should be used if possible.
The reason that it's still used in some cases is because it needs to. One case for this is when using isset(). The other is for some advanced array requesting, as in acp_board.
The reason that it's still used in some cases is because it needs to. One case for this is when using isset(). The other is for some advanced array requesting, as in acp_board.
Donate to phpBBModders.net - we're poor!
-
- New member
- Posts: 49
- Joined: 12 Nov 2008, 01:26
- Real name: Daniel
- Location: Belgique
Re: [Question] About $REQUEST['config']
Thank you very much. I understand.