ThaiSEOBoard.com

พัฒนาเว็บไซต์ => Programming => ข้อความที่เริ่มโดย: nuvatchai ที่ 03 เมษายน 2018, 22:59:56



หัวข้อ: ใช้ curl กับ cut ไม่ได้แล้วหรือครับ
เริ่มหัวข้อโดย: nuvatchai ที่ 03 เมษายน 2018, 22:59:56
โค๊ด:
curl -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" -I '[url]https://www.v.com[/url]'
HTTP/1.1 405 MethodNotAllowed
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Server: Server
Date: Tue, 03 Apr 2018 16:01:55 GMT
Set-Cookie: skin=noskin; path=/; domain=.v.com
Strict-Transport-Security: max-age=47474747; includeSubDomains; preload
x-amz-id-1: NF8Z2EAQP6TDT5J7A24X
allow: POST, GET
Vary: Accept-Encoding,User-Agent
X-Frame-Options: SAMEORIGIN
X-Cache: Error from cloudfront
Via: 1.1 5d70fbb2ed26aa231fed552696cfa0a5.cloudfront.net (CloudFront)
X-Amz-Cf-Id: 6CiSV6wNcvWpE1DxAyoBzqxxF0kPIcDvcFl6B9n6gSjHVFRURq_rMA==



หัวข้อ: Re: ใช้ curl กับ cut ไม่ได้แล้วหรือครับ
เริ่มหัวข้อโดย: killer777 ที่ 05 พฤษภาคม 2018, 10:06:13
ดูในฟังก์ชั้น phpinfo ครับว่าเปิดให้ใช้ ฟังก์ชั่น curl หรือป่าว