Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

file_get_contents timeout

$ctx = stream_context_create(array('http'=>
    array(
        'timeout' => 1200,  //1200 Seconds is 20 Minutes
    )
));

echo file_get_contents('http://example.com/', false, $ctx);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #timeout
ADD COMMENT
Topic
Name
7+2 =