Timeout fopen

I need in PHP a script that opens the following URL:

[url removed, login to view];q=god

However, you must perform the following 3 actions. If you can show the script you will be selected with great feedback.

1. You must set a "timeout" on the fopen, if it does not return in number of seconds that I set, then it must abort and try the Yahoo keword searc URL

2. If it does Open, the set the timeout for "the read" operation, if the read does not return in a certain time, then abort and try the Yahoo URL, again testing its fopen and read with timeout

3. Print the results of keyword search to the browser.

Here is an example with fsockopen. HOWEVER!!!!! do NOT use fsockopen with timeout, the POINT of the project to use fopen.

$fp = @fsockopen($url, 80, $errno, $errstr, $timeout);

Budget $20.

thank you

Evner: PHP

Se mere: php timeout fopen, timeout fopen, yahoo searc, testing q, searc, fp&a, fsockopen, god project, keyword quot example, print point, script search return, certain time, timeout, fopen amp, fopen, open url php script, browser url, need god, keyword google script php, script php open url, script keyword google, google feedback, number google results keyword, script number google results keyword, need operation

Om arbejdsgiveren:
( 1 bedømmelse ) Pluto, United States

Projekt ID: #280964