Sedang Disiapkan

fopen (timeout)

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

Kemahiran: PHP

Lihat lebih lanjut: php fopen timeout, fopen timeout, fopen url timeout, timeout fopen, fopen amp, time fopen, php fopen read timeout, php set fopen timeout, fopen, detect url timeout php, php timeout url, fopen mit timeout, fopen url without timeout, php fopen url timeout, fopen timout, extend fopen timeout, fopen timeout php, php fopen urls timeout, fsockopen timeout, set fopen time php, example read timeout fopen, php fopen time, set timeout fopen php, fopen fsockopen timeouts, php fopen url examples timeout

Tentang Majikan:
( 1 ulasan ) Pluto, United States

ID Projek: #280979