Dynadot โ€” .com Registration $8.99

Installing curl on windows xp

Spaceship 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
•••
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
•••
Ok,i'll try it.

Thanks.
 
0
•••
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
•••
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back