Security
|
|
|
|
<?php
function checkZencode($yourfile) {
$fp=fopen($yourfile,"ab+");
$beg=substr(fgets($fp,5),0,4);
fclose($fp);
if ($beg == "Zend") {
$beg = "file encoded with Zend encoder";
} else {
$beg = "file not encoded";
}
return $beg;
}
?>
|
|
|
Usage Example
|
|
|
Rate This Script
|
|
|
|