![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
Yours风之恋
一个孜孜不倦的求知者………………………………
展开
-
PHP 访问URL 解决AJAX 跨域问题
<?php $ch = curl_init(); $rainbowdash = $_POST['args']; $fields = array( 'args='=>$rainbowdash); $postvars = ''; foreach($fields as $key=>$value) { $postvars .= $key . $value; } $ur原创 2014-05-20 17:25:41 · 2804 阅读 · 0 评论 -
PHP 数组 (前篇)-- 遍历
<?php /** * Created by PhpStorm. * User: W.J.Chang * Date: 2014/11/24 * Time: 16:28 */ /* * php 数组相当灵活 * 1, 索引数组:和其他语言一样,用数字下标进行索引,但是下标可以不连续 * $demo = array('apple','orange','banana') dem原创 2014-11-24 18:46:07 · 775 阅读 · 0 评论 -
php 时间处理
function getCurMonthFirstDay($date) { return strtotime(date('Y-m-01 00:00:00', strtotime($date))); } function getCurMonthLastDay($date) { return strtotime(date('Y-m-d 23:59:59原创 2016-06-13 15:48:24 · 497 阅读 · 0 评论