Rev 7 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
<?php
$xxx_directories_need_ereg = array(
'/home/villariva' // Gästebuch arbeitet noch mit ereg... (/home/villariva/public_html/includes/misc_functions.php)
);
// ---
$xxx_go = false;
foreach ($xxx_directories_need_ereg as $xxx_directory_need_ereg) {
if (strpos($_SERVER['SCRIPT_FILENAME'], $xxx_directory_need_ereg) === 0) {
$xxx_go = true;
}
}
unset($xxx_directories_need_ereg);
unset($xxx_directory_need_ereg);
if ($xxx_go) {
function ereg($pattern, $string, &$regs) {
}
}
function eregi($pattern, $string, &$regs) {
}
}
}
}
}
}
function split($pattern, $string, $limit=-1) {
}
}
function spliti($pattern, $string, $limit=-1) {
}
}
$out = '';
for ($i=0; $i<strlen($string); $i++) {
$char = $string[$i];
if ($up != $low) {
$out .= "[${up}${low}]";
} else {
$out .= $char;
}
}
return $out;
}
}
}