04-09-2009, 06:59 PM
|
|
|
|
Join Date: Apr 2005
Location: İstanbul / T?rkiye
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by AdemGEN?
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'; }
|
Current Topics
I am still waiting for help on this topic
Would you please help?
|