Results 1 to 9 of 9

Thread: cURL

  1. #1

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    cURL

    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
    Last edited by hellilyntax; Aug 11th, 2006 at 08:26 PM.

  2. #2
    Fanatic Member modpluz's Avatar
    Join Date
    Sep 2005
    Location
    Lag, NG
    Posts
    633

    Re: cURL

    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!
    If you want the rabbit to hop, move the carrot - Paul Kellerman(Prison Break)

    onError GoTo http://vbforums.com



    My Bits:
    VB6: Change Column Name in MS ACCESS

  3. #3
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    Re: cURL

    Are you looking to use it with VB6? if so then have you tried search on google?

    http://www.google.co.uk/search?q=Cur...en-US:official

  4. #4

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    Re: cURL

    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...

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: cURL

    Since it seems like you don't intend to use the cURL PHP extension, you're in the wrong forum.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    Re: cURL

    is this VB forum?

  7. #7
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: cURL

    No, it's the PHP forum. The whole site is called VBForums, but you need to select the correct forum for your topic.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  8. #8
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: cURL

    Quote Originally Posted by hellilyntax
    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.

  9. #9

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    Re: cURL

    ok then...thanks merrion...c u there...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width