![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
文章平均质量分 56
yebingzi
这个作者很懒,什么都没留下…
展开
-
android上传图片以及POST字符串
private String uploadPicture( String uploadFile ) { String resultcode = "1";//0表示成功 ,1表示失败 HttpClient httpclient = new DefaultHttpClient(); httpclient.getParams( ).setP...原创 2012-10-24 17:08:03 · 143 阅读 · 0 评论 -
PHP访客计数器
<?php// PHP访客计数器function num(){ if(!file_exists("n.txt")) { $fp=fopen("n.txt","w"); fwrite($fp,"1"); fclose($fp); $n=1; } else { $fp=fopen("n.txt","r原创 2012-08-22 11:15:59 · 139 阅读 · 0 评论 -
php上传图片
<?php$uptypes = array ( 'image/jpg', 'image/jpeg', 'image/png', 'image/pjpeg', 'image/gif', 'image/bmp', 'image/x-png');$max_file_size = 2000000; //上传文件大小限制, 单位BYTE$destinatio...原创 2012-08-22 11:17:43 · 96 阅读 · 0 评论 -
php登录代码
供大家参考<?php error_reporting(0); header("content_type:text/html;charset=gbk"); $conn=mysql_connect("localhost","root","") or die("链接错误"); mysql_..原创 2012-08-22 11:21:19 · 101 阅读 · 0 评论 -
php $_FILES详解$_FILES
php $_FILES详解$_FILES 经由 HTTP POST 文件上传而提交至脚本的变量。类似于旧数组 $HTTP_POST_FILES 数组(依然有效,但反对使用)。详细信息请参阅 POST 方法上传。$_FILES数组内容如下:<input type="file" name="userfile">$_FILES['userfile']['name']客户端机器...原创 2012-08-23 10:34:14 · 306 阅读 · 0 评论 -
php连接Mysql数据库php连接Mysql数据库,查询数据转化为json
<?php/* * Created on 2013-1-17 * * To change the template for this generated file go to * Window - Preferences - PHPeclipse - PHP - Code Templates *///连接数据库$link = mysql_connect("...原创 2013-01-29 16:08:47 · 169 阅读 · 0 评论 -
php连接sqlserver数据库
<?php/* * Created on 2012-8-8 * * To change the template for this generated file go to * Window - Preferences - PHPeclipse - PHP - Code Templates *///$server = "172.**.*.**";//...原创 2013-01-29 16:19:30 · 147 阅读 · 0 评论 -
Android php 学习研究网址
1. http://www.iteye.com/ 2.论坛 http://www.eoeandroid.com/ 3.Linux公社 http://www.linuxidc.com/Linux/2012-05/61519.htm 4.expandableListview http://www.2cto.com/kf/201212/173349.html ...2013-01-29 16:50:30 · 97 阅读 · 0 评论