原创 Smarty使用自定義資源

<?php // put these function somewhere in your application function db_get_template ($tpl_name, &$tpl_source, &$smarty_o

原创 PHP IP函數

<?php $start = ip2long('192.168.1.1'); $start = sprintf("%u", $start) ; $end = ip2long('192.168.1.50'); $end = sprintf