yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  php

摘要:1?'真的':'假的',此三目会输出‘真的’字符串。 */ $agent = strtolower($_SERVER['HTTP_USER_AGENT']); $is_pc = (strpos($agent, 'windows nt')) ? true : false; $is_iphone = (strpos($agent, 'iph... 阅读全文
posted @ 2018-12-20 23:00 xxxxxxxx1x2xxxxxxx 阅读(422) 评论(0) 推荐(0)

摘要:# PHP 工程师技能图谱## 基础知识 - HTTP - HEADER - REQUEST - RESPONSE - GET/POST/PUT/DELETE/PATCH/CONNECT/OPTIONS - HTTPS- TCP/UDP- DNS- SESSION/COOKIE- CGI/Fast- 阅读全文
posted @ 2017-08-27 19:34 xxxxxxxx1x2xxxxxxx 阅读(225) 评论(0) 推荐(0)

摘要:<!DOCTYPE html><html><body> <?phpecho "我的第一段 PHP 脚本!";?> </body></html> 阅读全文
posted @ 2016-04-24 13:56 xxxxxxxx1x2xxxxxxx 阅读(188) 评论(0) 推荐(0)

摘要:运行命令: $php 1.php php教程: http://www.w3school.com.cn/php/php_variables.asp 阅读全文
posted @ 2016-03-20 13:11 xxxxxxxx1x2xxxxxxx 阅读(162) 评论(0) 推荐(0)

摘要:php 上传文件 $_FILES['']['type']的值 一个函数function upload_file($fname,$ftype,$fsize,$ferror,$ftmp_name,$fpath){date_default_timezone_set('PRC'); $store_nm = ... 阅读全文
posted @ 2015-09-04 12:39 xxxxxxxx1x2xxxxxxx 阅读(319) 评论(0) 推荐(0)

摘要:C#写的客户端连接 php的服务器端的小例子php的server 端 Acpt!\n"; while ( $acpt ) { echo "> "; $words= trim(fgets(STDIN)); if(strlen($words) === 0) $words... 阅读全文
posted @ 2015-09-04 12:38 xxxxxxxx1x2xxxxxxx 阅读(266) 评论(0) 推荐(0)

摘要:PHP+lghttpd + postgresql 环境搭建 Linux 下PHP环境搭建安装环境:PHP+lghttpd + postgresql1:yum install lighttpd 红旗自带apache2作为默认的web服务器。在原来的系统中就是使用apache作为web页面的服务器,ap... 阅读全文
posted @ 2015-09-04 12:36 xxxxxxxx1x2xxxxxxx 阅读(164) 评论(0) 推荐(0)

摘要:中国最大的25个网站采用技术选型方案网站排名数据来自 alexa,其中几个站长站被排除了,因为站长类网站的alexa 数据有数量级的偏差排名网站开发语言1baiduphp2qq.comjava3taobaojava4sinaphp5googlejava/c++6163java7weibo.comph... 阅读全文
posted @ 2015-08-17 01:33 xxxxxxxx1x2xxxxxxx 阅读(1174) 评论(0) 推荐(0)

摘要:ASP、JSP、PHP 三种技术比较目前,最常用的三种动态网页语言有ASP(Active Server Pages),JSP(JavaServer Pages),PHP (Hypertext Preprocessor)。 简 介 : ASP全名Active Server Pages,是一个WEB服... 阅读全文
posted @ 2015-07-26 02:24 xxxxxxxx1x2xxxxxxx 阅读(299) 评论(0) 推荐(0)

摘要:[root@csit yang]# service httpd startStartinghttpd:[FAILED]-------------------------------------------------------------------------------------------... 阅读全文
posted @ 2015-06-17 01:00 xxxxxxxx1x2xxxxxxx 阅读(1392) 评论(0) 推荐(0)

摘要:#/etc/init.d/httpd startStarting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80(98)Address already in use: make_sock:... 阅读全文
posted @ 2014-12-25 15:58 xxxxxxxx1x2xxxxxxx 阅读(550) 评论(0) 推荐(0)