Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Installing curl on windows xp

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
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
CatchedCatched

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back