![]() curl |
Introduction to writing spiders and agents |
![]() headers |
![]() |
cURL usage | ||
1. | curl www.website.com | |
2. | curl www.website.com > file | |
3. | <?php | |
$temp = `c:\curl\curl www.website.com`; | ||
echo "temp = $temp"; | ||
?> | ||
4. | Running PHP from a command line | |
c: php sourcefile.php.html | ||
Or, run from a batch file (may simplify running as a scheduled event) |