Out with split(), in with explode()

This commit is contained in:
Tony Landis
2009-03-27 23:20:19 -06:00
parent ff9e25abcf
commit 87a8e0f92d
101 changed files with 639 additions and 639 deletions

View File

@@ -814,7 +814,7 @@ class import_plugin extends import
# Determine the domain TLD & Name:
$domain_name = $rs->fields['domain'];
$arr = split('\.', $domain_name);
$arr = explode('\.', $domain_name);
$tld = '';
$domain = $arr[0];
for($i=0; $i<count($arr); $i++) {
@@ -1066,7 +1066,7 @@ class import_plugin extends import
# Determine the domain TLD & Name:
$domain_name = $rs->fields['target'];
$arr = split('\.', $domain_name);
$arr = explode('\.', $domain_name);
$tld = '';
$domain = $arr[0];
for($i=0; $i<count($arr); $i++) {