More usage of GET_URL() than file()
authorRoland Häder <roland@mxchange.org>
Tue, 25 Nov 2008 18:57:25 +0000 (18:57 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Nov 2008 18:57:25 +0000 (18:57 +0000)
inc/databases.php
inc/modules/admin/what-list_payouts.php
inc/modules/member/what-reflinks.php

index 896b6b9..851c80f 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "556");
+define('CURR_SVN_REVISION', "557");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 289dd50..c01272e 100644 (file)
@@ -118,7 +118,7 @@ if (!empty($_GET['pid']))
                                                eval($eval);
 
                                                // Execute transfer
-                                               $ret = @file($URL);
+                                               $ret = GET_URL($URL);
                                        }
                                         else
                                        {
index bae32d9..ee7d782 100644 (file)
@@ -89,7 +89,7 @@ if (SQL_NUMROWS($result) > 0)
                if ($test == $url)
                {
                        // Download banner (I hope you keep the banner on same server???)
-                       $fp = @file($url); $file = "";
+                       $fp = GET_URL($url); $file = "";
                        if ((!empty($fp)) && (is_array($fp)) && (count($fp) > 0))
                        {
                                // Loads only found banner, when there is a 404 error this foreach() command