Changeset 1416 in ExiteCMS for trunk/includes/dns_functions.php


Ignore:
Timestamp:
05/18/08 01:39:32 (4 years ago)
Author:
hverton
Message:

Ticket #53: fixed missing \ in the NSLOOKUP ereg check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/dns_functions.php

    r1321 r1416  
    6464 
    6565            # Valid records begin with hostname: 
    66             if (ereg( "^$hostnametMX preference = ([0-9]+), mail exchanger = (.*)$", $line, $parts ) ) { 
     66            if (ereg( "^$hostname\tMX preference = ([0-9]+), mail exchanger = (.*)$", $line, $parts ) ) { 
    6767                $mxhosts[ $parts[1] ] = $parts[2]; 
    6868            } 
Note: See TracChangeset for help on using the changeset viewer.