码迷,mamicode.com
首页 >  
搜索关键字:curl post json字符串    ( 38738个结果
A trip through the Graphics Pipeline 2011_05
After the last post about texture samplers, we’re now back in the 3D frontend. We’re done with vertex shading, so now we can start actually renderi...
分类:其他好文   时间:2014-08-05 00:35:18    阅读次数:306
window.open()提交POST数据
window.open(URL,name,specs,replace) > Details我们一般都是通过window.open(url, name, specs)以GET方式让浏览器打开一个新的页签,如果需要传递参数,就追加在url后面,如 http://demo/?a=1&b=2问题思考1)后面...
分类:Windows程序   时间:2014-08-05 00:32:48    阅读次数:318
jquery ajax传递数组给php
写成:var data = {'item[]':item};$.post(url,data,function(return_data)写成item:item会导致数据缺失。更多:http://www.cnblogs.com/ini_always/archive/2011/12/17/2291290....
分类:Web程序   时间:2014-08-05 00:30:38    阅读次数:426
无刷新的的文件上传
一、通过iframe来实现无刷新的的文件上传,其实是有刷新的,只是在iframe里面隐藏了而已简单的原理说明:form里面的target要与iframe里面的id的值相等,指示是form相应了post事件,也就是post时间相应的时候刷新的是iframe而不是整个页面。二、利用jQuery的插件Aj...
分类:其他好文   时间:2014-08-05 00:10:48    阅读次数:310
Template 模板的继承
index.html{% extends "base.html" %}{% block content %}Hi, {{user.nickname}}!{% for post in posts %}{{post.author.nickname}} says: {{post.body}}{% endf...
分类:其他好文   时间:2014-08-05 00:07:28    阅读次数:224
PHP curl 简单使用
<?php //初始化变量 $cookie_file = tempnam('./','cookie'); $ip1 = mt_rand(1,127) . '.' . mt_rand(1,127) . '.' . mt_rand(1,127) . '.' . mt_rand(1,127); $head...
分类:Web程序   时间:2014-08-05 00:04:28    阅读次数:269
Linux下查看操作系统信息、内存情况及cpu信息:cpu个数、核心数、线程数
文章转载:http://blog.snsgou.com/post-793.html1、查看物理CPU的个数[root@MysqlCluster01 ~]#cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l12、查看逻辑CPU的个数[root@...
分类:编程语言   时间:2014-08-04 23:58:28    阅读次数:564
上传和下载文件
1. 上传文件(1) controller@RequestMapping(value={"/uploadFile"},method={RequestMethod.POST}) public String upload(@RequestParam(value = "file", require...
分类:其他好文   时间:2014-08-04 21:01:27    阅读次数:345
妥善的ajax跨域提交post请求的解决方案,结合PHP与jquery
开发背景: 在开发中采用了一个新的架构,将大部分客户的留言功能集成到一个公共API提交保存,采用不同的用户名区分,供客户查询自己网站的留言,这样节约了客户网站的资源,也提升了维护性。 那么在提交时不能采...
分类:Web程序   时间:2014-08-04 18:27:08    阅读次数:231
android/IOS常用图片上传的两种方式
android/IOS常用图片上传的两种方式:1、上传到服务器的文件服务器(FileServer)原理:上传到文件服务器的方式是先在服务器端搭建文件服务器,配置好路径(url),该路径是我们待会上传图片的路径,配置成功后便通过http+post的模式上传到文件服务器,同时文件服务器将返回一..
分类:移动开发   时间:2014-08-04 18:10:58    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!