随笔分类 -  php

摘要:1、请求https网址 请求地址是https的,需要curl_exec($ch);之前设置 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); 2、暂时无法 阅读全文
posted @ 2022-06-24 08:40 F4ntasy 阅读(524) 评论(0) 推荐(0) 编辑
摘要:$resource_path = env('APP_URL') . $hotel->hero_image;$name = explode('.', $resource_path); if(!file_exists('upload/hotel/thumb/'.$id.'.'.$name[2])){ $ 阅读全文
posted @ 2021-05-08 17:35 F4ntasy 阅读(87) 评论(0) 推荐(0) 编辑
摘要:一.使用dump 1.找到composer安装路径 2.找到路径新建composer.json文件并加入以下代码 { "require": { "squizlabs/php_codesniffer": "*", "fxp/composer-asset-plugin": "^1.4", "symfon 阅读全文
posted @ 2020-04-01 12:42 F4ntasy 阅读(700) 评论(0) 推荐(0) 编辑
摘要:$carArray = simplexml_load_file("carr.xml") or die("failed"); foreach($carArray->children() as $c){ $year = $c->ModelYear; $price = $c->PricePerDay; $ 阅读全文
posted @ 2019-05-31 09:37 F4ntasy 阅读(927) 评论(0) 推荐(0) 编辑
摘要:<?php session_start(); $header="MIME-Version: 1.0".PHP_EOL; $header.="From:Hertz-UTS@uts.edu.au".PHP_EOL; $header.="Content-Type:text/html;charset=utf 阅读全文
posted @ 2019-05-30 17:17 F4ntasy 阅读(303) 评论(0) 推荐(0) 编辑
摘要:1.首先要去花生壳官网下载软件并安装https://hsk.oray.com/ 2.去注册账号https://console.oray.com/passport/register.html?fromurl=http%3A%2F%2Fhsk.oray.com%2F 3.打开pc版花生壳app并按操作登 阅读全文
posted @ 2019-05-27 09:30 F4ntasy 阅读(1336) 评论(0) 推荐(0) 编辑
摘要:list($msec, $sec) = explode(' ', microtime());$data = (float)sprintf('%.0f', (floatval($msec) + floatval($sec)) * 1000); 阅读全文
posted @ 2018-09-19 11:45 F4ntasy 阅读(130) 评论(0) 推荐(0) 编辑
摘要:php运行出现Call to undefined function curl_init() 64位win7/8 下PHP不支持CURL 除了将PHP.ini中的;extension=php_curl.dll前面的";" 去掉,还需要如下操作,(因apache,php版本的原因有些人电脑可能要执行第一 阅读全文
posted @ 2017-07-07 09:14 F4ntasy 阅读(260) 评论(0) 推荐(0) 编辑

對不起,您的瀏覽器不支持Flash


請使用支持Flash的瀏覽器訪問本頁,謝謝!

点击右上角即可分享
微信分享提示