NameSilo

Installing curl on windows xp

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

rontol

Established Member
Impact
1
Hello,

yeah...i'm thinking to start 'http programming' :gl:

but i need to know how to install it on windows xp.

i've downloaded the binary for windows (win 32 generic - binary) but it won't run on my xp.


any idea how to make it run?

thanks .
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Download XAMPP :

Code:
http://www.apachefriends.org/en/xampp.html

Then Stop your server and edit these following files

Code:
/xampp/apache/bin/php.ini
/xampp/apache/php/php.ini
/xampp/apache/php/php5.ini
/xampp/apache/php/php4/php.ini
/xampp/apache/php/php4/php4.ini

Find ";extension=php_curl.dll" in all of the above files and just remove the ";" before them to uncomment.

Restart your server and check phpinfo(), it'll display cURL module installed :)

3l3ctr1c
 
0
Close
Ok,i'll try it.

Thanks.
 
0
Close
Ok,any idea how write a script in php that read a .txt file line by line each 1 minute? :)

I do have this example:


Code:
<?php

// file() loads the contents of file.txt into an array, $lines

// each line in the file becomes a seperate element of the array.

$lines = file('file.txt');
 
// now loop through the array to print the contents of the file
 
echo 'Contents of file.txt using file():<br />';

foreach ($lines as $line)

{
  
echo htmlspecialchars($line) . '<br />';
  
}

       
 
// we can also access each line of the file seperately,1=0 donc 3=2
 
echo '3rd line of the file: "' . htmlspecialchars($lines[2]) . '"<br />';


?>
 
0
Close
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back