Click to See Complete Forum and Search --> : cURL
hellilyntax
Aug 11th, 2006, 07:30 PM
guys!
can somebody help me on cURL?
i knew its purpose but have no idea how to install it...
i read about compiling, and stuff like that...but really
dont know how to do it...
if somebody here willing to help, i need to know about these
1. how to install it on WinXP/2000
2. how to use it in VB6
modpluz
Aug 12th, 2006, 08:08 AM
okfine i also don't know how to do this until i was given this from experts-exchange(which am a member of).
If your php directory is NOT in your path - add it. This makes EVERYTHING a LOT easier.
RIght click "My Computer" and choose Properties|Advanced|Environment Variables|System Variables|Path|Edit
I use PHP a LOT!!!!, so my path is ...
C:\BATCH;C:\PHP5;C:\PEAR;C:\Program Files\WinRAR;C:\PKWare;D:\SAGE\UTILS;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Data\Web Sites\Quick Scripts\public_html;C:\Program Files\Support Tools\;C:\Program Files\Windows Resource Kits\Tools\;D:\cygwin\bin;C:\Essbase\bin;C:\Program Files\Intel\DMIX;D:\Program Files\InVu\;C:\Program Files\QuickTime\QTSystem\
I have C:\PHP5 near the front of the path. Just do. You don't need to if you just want to add it to the end.
Having saved that open a cmd prompt.
Type PATH [enter] just to make sure PHP is in the path.
If you are using a different directory then make sure you add that directory!
At the cmd prompt type
C:\>php -i | find "Configuration File" [enter]
This will return something like ...
Configuration File (php.ini) Path => C:\WINDOWS\php-cli.ini
The file (C:\window\php-cli.ini) could be anywhere/anything.
Edit that file and check that extension=php_curl.dll has no ; in front of it.
Save file.
Back at the cmd prompt type
C:\>php -m [enter]
You will get back something like ...
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
curl
date
dom
ftp
gd
hash
iconv
libxml
mhash
mssql
odbc
pcre
Reflection
session
SimpleXML
SPL
standard
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zlib
[Zend Modules]
Zend Extension Manager
The actual list will depend upon your settings.
If you see curl there, then PHP managed to load the curl library and the functions are available.
If you get ANY error or CURL is not present, then let me know.
This is working, so far, at the cli version of windows.
Now create a file called info.php containing
<?php phpinfo(); ?>
And save that in your webroot somewhere.
Open your browser and open the info.php
Look for "Configuration File" and curl. See if the same config file is used (I use different ones for CLI/FCGI/CGI/ISAPI).
If you are using the same config file and curl is NOT present, restart your web server. Then recheck.
At this stage, any errors would be important.
Let me know.
but after doing that you'll need to enable cURL in your php.ini configuration file and reboot your system for changes to take place.
i hope this helps
GOOD LUCK!
john tindell
Aug 12th, 2006, 09:01 AM
Are you looking to use it with VB6? if so then have you tried search on google?
http://www.google.co.uk/search?q=Curl+VB6&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
hellilyntax
Aug 14th, 2006, 11:29 AM
hi...
thanks modpluz, john...
i ve play around with curl.exe and its easy to use...just run it in DOS...
im ok with taht but i've download libcurl from the site and there are too many dll..i tried to add the dll in VB6 reference but it couldnt load. i just want to know how to add it in project reference...
CornedBee
Aug 14th, 2006, 01:15 PM
Since it seems like you don't intend to use the cURL PHP extension, you're in the wrong forum.
hellilyntax
Aug 14th, 2006, 01:20 PM
is this VB forum?
CornedBee
Aug 14th, 2006, 01:34 PM
No, it's the PHP forum. The whole site is called VBForums, but you need to select the correct forum for your topic.
Merrion
Aug 14th, 2006, 04:11 PM
guys!
can somebody help me on cURL?
i knew its purpose but have no idea how to install it...
i read about compiling, and stuff like that...but really
dont know how to do it...
if somebody here willing to help, i need to know about these
1. how to install it on WinXP/2000
2. how to use it in VB6
There's a really good C# library/wrapper for cURL - I'm using it..if you have any questions on that try the "General Developer" forum and I'll join you for a cURL natter.
hellilyntax
Aug 14th, 2006, 09:17 PM
ok then...thanks merrion...c u there...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.