摘要: 在使用HttpWebRequest获取远程url的时候,出现了莫名其妙的一个错误,找遍了所有渠道,网上都没有相关案例,最后经过自己仔细琢磨,终于研究出来了解决案例,案例如下 出现的问题: public static string GetContentByCookieContainer(string 阅读全文
posted @ 2022-12-13 23:58 kobayashi_kk 阅读(86) 评论(0) 推荐(0)
摘要: var url = "https://ziyuan.baidu.com/pressure/doadjust?site=https://www.jshuj.com/"; var xhr = new XMLHttpRequest(); xhr.open("POST", url, true); xhr.s 阅读全文
posted @ 2022-05-08 14:41 kobayashi_kk 阅读(236) 评论(0) 推荐(0)
摘要: $bgimg = "./image/" . $numrand . ".jpg"; $bg_info = getimagesize($bgimg); $bg_type = image_type_to_extension($bg_info[2], false); $func = "imagecreate 阅读全文
posted @ 2022-04-13 12:11 kobayashi_kk 阅读(219) 评论(0) 推荐(0)
摘要: <%@ Page Language="C#" Debug="true" %> <%@ Import Namespace="System.Collections.Generic" %> <%@ Import Namespace="System.Data.SqlClient" %> <%@ Import 阅读全文
posted @ 2022-04-11 12:34 kobayashi_kk 阅读(94) 评论(0) 推荐(0)
摘要: string shujuid ="";//这里为url的ID,自己去获取数据 //百度api推送 start string formUrl = "http://data.zz.baidu.com/urls?site=https://www.jshuj.com&token=xxxxxxxxxxxxx" 阅读全文
posted @ 2022-04-10 13:43 kobayashi_kk 阅读(126) 评论(0) 推荐(0)
摘要: 1 <?php 2 #Post请求 3 function PostMain($url,$data){ 4 $curl = curl_init(); 5 curl_setopt($curl, CURLOPT_URL,$url); 6 curl_setopt($curl, CURLOPT_RETURNT 阅读全文
posted @ 2022-04-09 12:08 kobayashi_kk 阅读(405) 评论(0) 推荐(0)
摘要: <%@ Page Language="C#" Debug="true" %> <%@ Import Namespace="System.Collections.Generic" %> <%@ Import Namespace="System.Data.SqlClient" %> <%@ Import 阅读全文
posted @ 2022-03-24 13:29 kobayashi_kk 阅读(58) 评论(0) 推荐(0)
摘要: @echo off @echo off&setlocal enabledelayedexpansion ::设置一次移动多少个文件? set s=1 ::120为多少秒 for /f "delims=" %%a in ('dir /a-d/s/b "E:\上传文件\ceshi\data2\*"') 阅读全文
posted @ 2022-03-17 09:13 kobayashi_kk 阅读(939) 评论(0) 推荐(0)
摘要: 今天有个接口需要post数据获取文库内容,所以写了个代码分享一下。 <?php#Post请求数据 function PostMain($url,$data){ $curl = curl_init(); curl_setopt($curl, CURLOPT_URL,$url); curl_setopt 阅读全文
posted @ 2022-03-16 00:36 kobayashi_kk 阅读(56) 评论(0) 推荐(0)
摘要: ​ 杰奇(jieqicms)一本书获取多个关键词 ​ 能够实现一个ID的小说多个关键词页面!! 杰奇后台或phpmyadmin执行17mb.sql里面的代码 PC端: 添加文件: /keywords.php /kw.php /modules/article/class/package_kw.php 阅读全文
posted @ 2021-07-12 05:32 kobayashi_kk 阅读(138) 评论(0) 推荐(0)