The curl tag has no wiki summary.
3
votes
1answer
93 views
Optimizing PHP script fetching entire HTML pages
The following script should get links which are stored in a text file (line by line), then put them into an array and finally scan each links' source code for a certain line. If this line is found, it ...
1
vote
0answers
63 views
Is my curl function to check proxies 'okay'?
function check_proxy($proxy) {
$testpage = TESTPAGE ;
$ch = curl_init($testpage);
curl_setopt($ch,CURLOPT_PROXY,$proxy);
curl_setopt($ch,CURLOPT_HTTPPROXYTUNNEL,true);
...
3
votes
2answers
175 views
Improve multithreading with network IO and database queries
I'm writing a script that:
fetch a list of urls from a db (about 10000 urls)
download all the pages and insert them into the db
parse the code
if(some condition) do other inserts into the db
I ...
2
votes
1answer
101 views
How can this function to get a remote file improve?
I've prepared a function using cURL to get a remote file to the local storage:
/**
* cURL - Get Remove File
*
* Function using CURL the get a remote file to the local storage.
*
* @param str ...