[Request] Tabs in profile member
-
- New member
- Posts: 49
- Joined: 12 Nov 2008, 01:26
- Real name: Daniel
- Location: Belgique [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[Request] Tabs in profile member
Last edited by Dakin Quelia on 02 Nov 2009, 21:02, edited 1 time in total.
-
- Past Contributor
- Posts: 120
- Joined: 15 Jul 2008, 19:42
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: [Request] Tabs in profile member
: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.
- My First forum, créer votre forum phpBB3 facilement !
- My First forum, créer votre forum phpBB3 facilement !
-
- New member
- Posts: 49
- Joined: 12 Nov 2008, 01:26
- Real name: Daniel
- Location: Belgique [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: [Request] Tabs in profile member
Be very, very careful there. Messing with $_SERVER variables unescaped is very dangerous.
-
- New member
- Posts: 49
- Joined: 12 Nov 2008, 01:26
- Real name: Daniel
- Location: Belgique [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: [Request] Tabs in profile member
It used in phpBB.
How secure it?
How secure it?
Re: [Request] Tabs in profile member
It is used in phpBB, however it is used after it is cleaned of possible injects. It's usually a good idea to clean any external data, just to be on the safe side.
-
- New member
- Posts: 49
- Joined: 12 Nov 2008, 01:26
- Real name: Daniel
- Location: Belgique [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: [Request] Tabs in profile member
My request is solved. But I don't know protect $_SERVER.
Re: [Request] Tabs in profile member
If you're using it in a straight comparison, you should be good. However, if you have to manipulate data using it, you should probably check to see if the data matches what it should carry (this you can do with preg_match() usually). For example, the IP address -- it should be checked and filtered to verify that it /is/ an IP address.
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 33 guests