$url = http://xxxx.com; $params = array('id'=>11,'aa'=>22,'cc'=>33); $data = http…
<?php include_once('PHPExcel.php'); //read excel file; $PHPExcel = new PHPExcel(); $PHP…
<?php //人类接口 interface IHuman { function GetName(); } //男人类,实现人类接口 class ManClass imple…
<?php function my_image_resize($src_file, $dst_file , $new_width , $new_height) { $src_…
<?php class authCode { public $ttl;//到期时间 时间格式:20120101(年月日) public $key_1;//密钥1 public…
<?php /** * 查找 * **/ // 顺序查找 function normal_search($arrData,$val) { $len = count($arrD…
<?php class SqlHelper { private static $_instance; public $_dbname; private function __…
<?php class TwentyFourCal { public $needle = 24; public $precision = '1e-6'; function T…
header('Expires: 0'); header('Last-Modified: '. gmdate('D, d M Y H:i:s') . ' GMT'); header…
mysql.php 获取数据库中的记录 <?php /** *PHP+MYSQL数据库基本功能 *http://blog.csdn.net/yown */ #########…
<?php /* * Created on 2011-07-28 * Author : LKK , http://lianq.net * 使用方法: require_once…
save_file.php代码 <?php session_start(); $handle = fopen($_POST['original_file_name'], &q…