08 2012 档案
摘要:<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');set_time_limit(0);class Img_build extends CI_Controller{ private static $img_path = 'upload_old/'; private static $new_path = 'upload/'; function __construct() { parent::__construct(); ...
阅读全文
摘要:$name = 'yangheping';$pwd = 'yhpadmin';$phone = '158********';$content = '测试POST\GET发送方式';//组合提交URL以及参数 (GET方式)//$http = 'http://www.ceshi.cc/php/post.php'.'?name='.$name.'&pwd='.$pwd.'&dest='.$phone.'&content='.$con
阅读全文
摘要:<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');class MyEmail extends CI_Controller { public function __construct() { parent::__construct(); } public function index( $param=array() ) { $config = array( ...
阅读全文
摘要:$str = "客户您好,为您推荐以下项目:(crm{项目2:项目名称} (crm{项目3:项目名称}crm) crm)以及(crm{项目1:项目名称}crm)"; $start = '(crm'; //循环开始标记 $end = 'crm)'; //循环结束标记 //循环标记,需要转移的符号,前面需要加入转义符 '\' $need_escape = array('^', '$', '(', ')', '.', '[', '
阅读全文

浙公网安备 33010602011771号