I’m using the recently downloaded wp-e-commerce.3.6.12 plugin for WordPress. This post walks through the steps I took to get cURL up and running on a Windows 2003 server (but the process should work for all win32 platforms).

1. Go to http://curl.haxx.se/dlwiz/ This is the download wizard page that will walk you through the version you need.

2. Download msvcr70 from http://www.dll-files.com/dllindex/dll-files.shtml?msvcr70

3. This is a good link, if a bit complicated to figure out http://www.phpbuilder.com/lists/php-windows/2001051/0335.php


Help with configuring cURL

Tip for Installing cURL with AppServ development server on Windows

If you are running AppServ as a WAMP development environment on a Windows machine, you may experience difficulty installing cURL. Here are some helpful steps:

First go to the PHP directory and copy the following libraries to the windows/system32 dir.

Open the php ini file and remove the ; from extension=php_curl.dll

Reboot your server.

A PHP script that with automatically log you in to a website can be found here:

// Set username and password values below…
= ‘username’;
= ‘password’;

// Initialize cURL
= curl_init();

// Set the URL
($ch, CURLOPT_URL,“http://www.theubm.com/index.php”);

// Accept cookies

// Submit our POST values (EG: username and password)
($ch, CURLOPT_POST, 1);
($ch, CURLOPT_POSTFIELDS, “username=$username&password=$password”);

// Execute…
= curl_exec($ch);

// Display the result
echo $output



XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>