View Single Post
ישן 27-08-06, 22:07   # 8
mlnn
משתמש - היכל התהילה
דירוג מסחר: (0)
 
mlnn's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: בחדר של חני
גיל: 35
הודעות: 4,417

mlnn לא מחובר  

PHP קוד:
$targetAddr "123.123..*..*";  //yes is two dots
 
//this code will match any class of 123.123.x.x, 
//you can also do "123.123.123..*" to do anything that is 123.123.123.x
 
if (ereg($targetAddr$_SERVER['REMOTE_ADDR'])) {
    
//remote address match, do something or don't do anything
} else {
   
//do whatever you want to address that doesn't match


יוצר: saidev


בפעם הבאה, GoogleIt
__________________
.

בחורות ערומות
  Reply With Quote