备份mysql数据的php代码 代码段

php ##################### //CONFIGURATIONS ##################### // Define the name of the backup directory

cf46d 2015-01-31   1154   0
PHP  

PHP缓存类 代码段

$cache = new php_cache('index'); $cache = new php_cache('index',1800); $cache = new php_cache('index'

lpki123 2015-03-03   1168   0
jQuery  

PHP压缩图片 代码段

function scale_dimensions_within_limits($w,$h,$max_w,$max_h){ // $w is the width of the current rectangle // $h is the height of the current rectangle // $max_w is the maximum width that an image can

phpde1 2015-03-17   952   0
PHP  

php的文件上传示例代码 代码段

value="">
php //能够上传的类型 $uptypes=array('image/jpg','image/jpeg'

n7w77 2015-03-19   816   0
PHP  

php图片加水印类 代码段

这个方法可以单独调用,但必须先调用 send()方法, 也可以连续调用: $img->send()->show(); php class Images{ private $imgA = '', $imgB = ''; private

cp5m 2015-04-23   937   0
PHP  

php的zip压缩代码 代码段

php $error = ""; //error holder if(isset($_POST['createpdf'])){ $post = $_POST; $file_folder = "files/";

n6bg 2015-04-29   797   0
PHP  

PHP 常用的header头部定义 代码段

php header('HTTP/1.1 200 OK'); // ok 正常访问 header('HTTP/1.1 404 Not Found'); //通知浏览器 页面不存在 header('HTTP/1

mmxn 2015-05-20   6727   1
PHP  

PHP解析 JSON 数据 代码段

$json_string='{"id":1,"name":"rolf","country":"russia","office":["google","oracle"]} '; $obj=json_decode($json_string); //print the parsed data echo $obj->name; //displays rolf echo $obj->office[0]; /

gw23e 2015-08-09   907   0
PHP  

PHP解析 XML 数据 代码段

$xml_string="<?xml version='1.0'?> <moleculedb> <molecule name='Benzine'> <symbol>ben</symbol> <code>A</code> </molecule> <molecule name='Water'> <symbol>h2o</symbol> <code>K</code> </molecule> </mole

gw23e 2015-08-09   893   0
PHP  

PHP清除html格式的代码 代码段

一个理想的去除html包括空格css样式、js 的PHP函数。 $descclear = str_replace("\r","",$descclear);//过滤换行 $descclear = str_replace("\n"

jopen 2015-10-14   1627   0
PHP  

PHP的AES加密类 代码段

PHP的AES加密类 aes.php php /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Roy91E 2016-01-21   2116   0
P4

  PHP漏洞原理 文档

 PHP漏洞原理 PHP是一种服务器端的,嵌入HTML的脚本语言。PHP区别其他语言的地方是它的代码在服务器端执行,例如收集表格数据,生成动态页面内容,或者收发cookies等,今天我们来了解一下它的漏洞问题。

scofier 2011-12-13   5821   0
PHP开发   PHP  

PHP 7.2.0发布 资讯

PHP 开发团 宣布 释出 7 系列的第二个功能更新版。PHP 7.2.0 的主要更新和改进包括:转换对象/数组转换中的数值键,不可数对象的计数,对象类型提示,HashContext 作为对象,Mcrypt

jopen 2017-12-01   20402   0
PHP  

PHP开源论坛 KaiBB 资讯

KaiBB 是一个免费开源的公告板系统,采用面向对象PHP技术开发。安装简单易用。功能够用。 项目地址: http://www.kaibb.co.uk/ 在线演示: http://www.kaibb

fmms 2011-10-12   14224   0
PHP  

PHP 5.3.7发布 资讯

PHP开发团队向大家宣布即将提供PHP 5.3.7的版本。此版本侧重于提高超过90个bug修复,其中一些是与安全相关的PHP5.3.x分支将更稳定。 安全性增强,在PHP 5.3.7修复: Updated

webphp 2011-08-19   16292   1
PHP  

PHP 框架 Ding Framework 资讯

Ding 是一个 PHP 框架,提供依赖注入(通过 Setter/Constructor/Method)、面向方面编程、XML、YAML、事件支持,使用 JSR 250/330 注解进行 Bean 定义。轻量级,可发布为

openkk 2011-11-09   7858   0
PHP  

10 个有趣的 PHP 教程 资讯

今天我为大家挑选了 10 个关于 PHP 的教程,设计到 pChart、投票、图片过滤、facebook 连接器等等,希望对你有用。 1. pChart Revisited with Google Analytics

fmms 2012-04-19   30022   0
PHP  

10个有趣的 PHP 教程 资讯

pChart(一个 php 图表库) 和 Google Analytics 以获得你想要的结果。 2. 用 PHP 创建 Instagram 效果 在这个教程中,你将看到如何利用 PHP 和 ImageMagick

fmms 2012-04-27   21260   0
PHP  
P10

  PHP安全详解 文档

北京星模实训学校 教育改变人生 培养IT界的明星模特 第二十四讲:PHP安全 学习目标: 1、写代码时要有安全意识。 2、掌握PHP安全的一些常用方法。 实现功能->效率(运行效率、开发效率)、安全 一些提高安全的方法:

scofier 2011-12-13   748   0
PHP开发   PHP  
P5

  php伪静态 文档

php伪静态 一直在做php的开发工作.在开发的过程中老早就听说了“伪静态”这一说。但是一直没有对其进行了解。 今天终于下定决定 要好好的了解下这方面的内容。 首先,什么是伪静态: 伪静态又名URL

yuxiaoli 2012-05-18   3812   0
1 2 3 4 5 6 7 8 9 10