Project Detail

Timeout fopen  

Timeout fopen is project number 280964
posted at GetAFreelancer.com. Click here to post your own project.

 

Bookmark and Share
Free Trial For New Buyers
 

Status: Closed
(Cancelled by Service Buyer)

Selected Providers: -

Budget: $30-250

Created: 06/30/2008 at 10:03 EDT

Bid Count: 0

Average Bid: -

07/10/2008 at 10:03 EDT

Project Creator: dino99 View PM Post PM
Employer Rating: 9.00/109.00/109.00/109.00/109.00/109.00/109.00/109.00/109.00/109.00/10 (1 reviews)

Bid On This Project
 

Description


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

http://www.google.com/search?hl=en&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

Messages Posted: 0 View project clarification board Post message on project clarification board

Bid On This Project
 
If you are the project creator or one of the bidders Log In for more options
    There are currently no visible bids.
    Bid on this Project