My Forum
Admincp>>Usersgroups>>Usergroup Manager>>Guest Usergroup>>Forum Viewing Permissions>>Can View Forum:
Yes, In this case, no problem at all running
See: http://vbulletin.ardeseni.com/yeni_sayfa_3.htm
Admincp>>Usersgroups>>Usergroup Manager>>Guest Usergroup>>Forum Viewing Permissions>>Can View Forum:
No, In this case, numbers can not be controlBecause, Visitors can not access this file number_control.php
In this case visitors want to run this file
See: http://vbulletin.ardeseni.com/yeni_sayfa_2.htm
Guests can work the code on this page.
Required to work for?
number_control.php
PHP Code:
error_reporting(E_ALL & ~E_NOTICE);
require_once('./global.php');
$field_alani = $vbulletin->options['tc_kimlik_no_kontrolu_field'];
$tc_no = $vbulletin->input->clean_gpc('p', 'tc_no', TYPE_NOHTML);
$tc_no_sorgula = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "userfield WHERE $field_alani LIKE '$tc_no'");
if(mysql_num_rows($tc_no_sorgula))
{
echo 'No';
}
else
{
echo 'OK';
}