![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2004
Location: Montreal
Posts: 799
|
![]() how can I know if I have everything I need to use curl functions ?
In the examples I saw I don't need to include anything ... but do I ? Right now curl_init(); causes an error.
__________________
I have nothing to advertise ... yet. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Sep 2005
Posts: 102
|
Is it included in your PHP setup?
try: Code:
<?php phpinfo(); ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
Just do a
phpinfo(); in your code and it will spit out all the config options. If it lists CURL on that page, then you should have it, if not then it needs to be compiled into PHP.
__________________
Latest MMA news. http://www.mmawrapup.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Apr 2004
Location: Montreal
Posts: 799
|
Damn ! I don't have it ... thanks guys
__________________
I have nothing to advertise ... yet. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Join Date: Mar 2005
Location: LA
Posts: 4,920
|
curl
CURL support enabled CURL Information libcurl/7.11.2 OpenSSL/0.9.7c zlib/1.1.4 look for that in your phpinfo(); display if you see it, your all set... if not, if unix/linux, you have to compile php with-curl, or if on windows, uncomment the extension for curl.dll in the php.ini file
__________________
![]() Promote ONE Legal Tube Site, Collect Checks from 19 Sponsors ![]() Fresh Dave | Email: [email protected] | ICQ: 317160390 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2004
Location: ...
Posts: 761
|
if unix/linux, compile php with: --with-curl[=DIR]
if windows, download the zip (not installer), in the ext folder you'll see all the dlls, find the curl one, slap it in ext, and modify php.ini to include it under [extensions]
__________________
Programmer ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Apr 2004
Location: Montreal
Posts: 799
|
What about libcurl ?
Can't I just do something like include('libcurl.php'); or something like this ?
__________________
I have nothing to advertise ... yet. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Quote:
__________________
Your post count means nothing. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |