Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1829
 
1838
 
1838
 
compatibility.php
_> 11 <?php
  22 /*
<> 3 -  $Id: compatibility.php 1829 2008-01-29 22:44:16Z hpdl $
   3+  $Id: compatibility.php 1838 2008-12-12 10:54:24Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
8080   if (!function_exists('checkdnsrr')) {
  8181     function checkdnsrr($host, $type) {
  8282       if(tep_not_null($host) && tep_not_null($type)) {
<> 83 -        @exec("nslookup -type=$type $host", $output);
   83+        @exec("nslookup -type=" . escapeshellarg($type) . " " . escapeshellarg($host), $output);
<_ 8484         while(list($k, $line) = each($output)) {
  8585           if(eregi("^$host", $line)) {
  8686             return true;