![]() |
Deny the usage of animated avatars
Could you guys try the following code, and report back bugs if there are any?
This snipplet detects if an avatar is animated (or any other .gif) PHP Code:
|
do php if statements work without brackets and without telling an if to end?
PHP Code:
|
Yes they do.
If you do not enclose the content in brackets, it assumes the next line is to be executed if the statement returns true - else it ignores it |
Quote:
|
All times are GMT. The time now is 12:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|