View Single Post
ישן 27-08-06, 22:11   # 10
Ariel_M3
חבר חדש
דירוג מסחר: (0)
 
מיני פרופיל
תאריך הצטרפות: Aug 2006
הודעות: 19

Ariel_M3 לא מחובר  

ציטוט:
נכתב במקור על ידי 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