ChinaUnix.net
相关文章推荐:

curl init undefind

curl 版本 7.32 ./configure make make install 已经成功安装了 curl. 然后进入他的例子代码 docs/examples gcc -I/usr/local/include -L/usr/local/lib -lcurl -o getinfo getinfo.c 提示 /tmp/ccmSyYom.o: In function `main': getinfo.c:(.text+0x82): undefined reference to `curl_easy_init' getinfo.c:(.text+0xb5): undefined reference to `curl_easy_setopt' getinfo.c:(.text+0xc1): undefined reference to `curl_e...

by LionD8 - C/C++ - 2013-08-31 22:38:31 阅读(7249) 回复(5)

相关讨论

[code] PHP Version 4.3.4 curl_init (PHP 4 >= 4.0.2, PHP 5) curl_init -- initialize a curl session Description resource curl_init ( [string url] ) The curl_init() will initialize a new session and return a curl handle for use with the curl_setopt(), curl_exec(), and curl_close() functions. If the optional url parameter is supplied then the curlOPT_URL option will be set to the value of the par...

by seasee - PHP - 2006-11-28 11:54:52 阅读(3389) 回复(2)

程序上传到了服务器 警告 Fatal error: Call to undefined function curl_init() in 服务不支持吗???

by militala - PHP - 2009-12-24 09:14:08 阅读(3341) 回复(6)

Usage: curl [options...] Options: (H) means HTTP/HTTPS only, (F) means FTP only -a/--append Append to target file when uploading (F) -A/--user-agent User-Agent to send to server (H) --anyauth Pick "any" authentication method (H) -b/--cookie Cookie string or file to read cookies from (H) --basic Use HTTP Basic Authentication (H) -B/--use-ascii Use ASCII/text ...

by ilovit - Linux文档专区 - 2009-03-19 10:01:24 阅读(784) 回复(0)

今天看到curl的用法,不错记录一下。 原文地址: http://www.linuxidc.com/Linux/2008-01/10891p2.htm Linux curl使用简单介绍 curl是Linux下一个很强大的http命令行工具,其功能十分强大。 1) 二话不说,先从这里开始吧! $ curl http://www.linuxidc.com 回车之后,www.linuxidc.com 的html就稀里哗啦地显示在屏幕上了 ~ 2) 嗯,要想把读过来页面存下来,是不是要这样呢? $ curl http://www.linuxidc.com > page.html 当然可...

by xinyv - Linux文档专区 - 2008-11-17 21:35:16 阅读(936) 回复(0)

linux下写shell脚本程序 经常会遇到需要post提交东西的时候 这时候用curl是非常方便的 我举一个例子: curl -A "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" \ -e "http://www.xxx.com/poll.shtml" \ -d "2880[]=105&pid=2880&p=最佳&count=1&receipt=1&poll=投票" \ http://survey.xxx.com/poll/poll.php 这里 -A "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 的意思就是申明自己用的是windows2000下的ie6的...

by yannankai - Linux文档专区 - 2006-04-30 15:16:53 阅读(615) 回复(0)

init init [bootflags] [runlevel] System administration command. initialize system. Usually run from the boot loader—e.g., lilo or grub. Boot flags -a,auto Set the AUTOBOOT environment variable to yes. The boot loader will do this automatically when booting with the default command line. -b Boot directly into a single-user shell for emergency recovery. -s,S,single Single-user mode. -b,emergency ...

by anima - Linux文档专区 - 2006-08-13 00:18:01 阅读(648) 回复(0)

我是菜鸟 请问init 的级别到底有什么不同呢

by jason80 - 系统管理 - 2003-12-02 08:03:30 阅读(580) 回复(1)

我是菜鸟 请问init 的级别到底有什么不同呢

by jason80 - Linux系统管理 - 2003-12-02 08:03:30 阅读(538) 回复(1)

[code]#!/bin/sh hot_line=4006019977 cno_num_sub=2000 ccic_ip=xxx.xx.xxx.xx record_num_sub=1 curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -o output_AgentLogin.htm -D cookie_AgentLogin.txt "http://xxx.xx.xxx.xx/system%21getLoginSecurityCodeImage.action" curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -b cookie_AgentLogin.txt "http://xxx.xx.xxx....

by haofang666777 - Shell - 2013-11-08 19:45:36 阅读(3110) 回复(9)

本帖最后由 luwenju 于 2012-05-06 10:35 编辑 有这样一个问题: 比如用浏览器访问一个图片连接 http://192.168.1.100/test.jpg 时可正常显示图片,但是使用curl -I http://192.168.1.100/test.jpg 时获取的状态码是404,而不是200,什么问题?

by luwenju - Linux系统管理 - 2012-05-07 11:17:15 阅读(1013) 回复(1)