码迷,mamicode.com
首页 >  
搜索关键字:zabbix nginx php    ( 107651个结果
php---下载功能
<?php $filename="胡主席好.pdf"; if(!file_exists($filename)) { echo "不存在此文件"; return; } $fp=fopen($filename,"r"); $file_size=filesize($filename); //配置头文件 /...
分类:Web程序   时间:2014-04-29 13:42:20    阅读次数:356
仿nginx Http服务器的设计与实现(一)——多进程和多路IO的实现
最近在尝试自己写一个Http服务器,在粗略研究了nginx的代码之后,决定仿照nginx中的部分设计自己实现一个高并发的HTTP服务器,在这里分享给大家。...
分类:其他好文   时间:2014-04-29 13:38:21    阅读次数:345
Vagrant进阶:搭建简易Python,PHP开发环境
Vagrant进阶:搭建简易Python,PHP开发环境...
分类:编程语言   时间:2014-04-29 13:34:21    阅读次数:332
hdu3790 最短路径问题(Dijkstra)
本文出自:http://blog.csdn.net/svitter 原题地址:http://acm.hdu.edu.cn/showproblem.php?pid=3790 另外写文章之前偷懒一下,发现一个很好的入门python教程!:http://woodpecker.org.cn/abyteofpython_cn/chinese/ 题意:在最短路径的前提下,添加了一个最短路径中权值最小的要...
分类:其他好文   时间:2014-04-29 13:32:22    阅读次数:285
HDU-2850-Load Balancing(贪心)
Problem Description In the Wide Web World, Which web server was popular in web site? Apache, nginx, lighttpd? Baidu.com use Apache, and many web sites like 163.com use nginx. Why? Its configuration i...
分类:其他好文   时间:2014-04-29 13:24:20    阅读次数:355
FOJ 2173 Nostop 从1点到n点恰好走了k次的最短路
题目链接:http://acm.fzu.edu.cn/problem.php?pid=2173 思路: 类似于传递闭包的性质 用矩阵mp[i][j] 表示i点到j点 走1次的最短路 -------------- 若我们用 mp[i][j] 表示从i点到j点 走了k次的最短路距离 那么我们要通过 矩阵mp 得到 矩阵 ret[u][v] 表示 u->v 走了2*k次的最短路 就...
分类:其他好文   时间:2014-04-29 13:24:20    阅读次数:386
SaeMail使用示例
SAE的官方文档:http://apidoc.sinaapp.com/sae/SaeMail.html SaeMail类的具体实现:http://apidoc.sinaapp.com/__filesource/fsource_sae__saemail.class.php.html 官方给出的demo: setAttach...
分类:其他好文   时间:2014-04-29 13:23:22    阅读次数:234
sicily 1007 To and Fro (基础题)
链接:http://soj.me/show_problem.php?pid=1007 Description Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:其他好文   时间:2014-04-29 13:23:21    阅读次数:293
php和js对数据库图片进行等比缩放
JS 对某图片的等比缩放 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 最新javascript自动按比例显示图片,按比例压缩图片显示 function AutoResizeImage(maxWidth,max...
分类:数据库   时间:2014-04-29 13:14:22    阅读次数:440
SaeMysql操作示例
新浪sae的官方说明文档:http://apidoc.sinaapp.com/sae/SaeMysql.html Class SaeMysql 具体实现:http://apidoc.sinaapp.com/__filesource/fsource_sae__saemysql.class.php.html 新浪官方文档已经给出了简单的示例: <?php $mysql = new Sae...
分类:数据库   时间:2014-04-29 13:14:20    阅读次数:407
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!