The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have a form that includes global.php and uses $vbulletin->GPC data to create a post. I have no way of checking if they array is empty. !isset, empty, and if($vbulletin->GPC['field']) == "") aren't working. So, if I go to the page (not with form submission), it will post a thread with blank fields and if repeated, it will post again. An HTML script could be setup to screw that over :/ (spam posts) How can I check if the field is empty?
|
|
#2
|
|||
|
|||
|
What is the code you are currently using?
PHP Code:
|
|
#3
|
|||
|
|||
|
Quote:
Fixed. Thanks ! |
![]() |
|
|