Käynnissä

FREAD/ FOPEN / URL_FOPEN - Timeout

NO TIME WASTERS!!!!

I dont want to hear nonsense about how many days this will take, etc etc

You either know what you are doing or you dont!

I am trying to open remote video stream using fopen/readfile()

I have no problems up to about 2 mins, then it times out.

NO ERRORS are being produced, I have been through everything in [url removed, login to view] that I can think of. I have my own Windows 2012 dedi server / Plesk , with no restrictions yet I cant get this to work and need a 2nd pair of eyes.

I have tried everything including max timeout, set time limit I have searched and searched

The video is NOT on the same server and the input files are dynamic

<!-------- Script --------->

ini_set('error_log', __DIR__ . DIRECTORY_SEPARATOR . '[url removed, login to view]');

ini_set('log_errors', 1);

error_reporting(E_ALL);

function flush_buffers(){

ob_end_flush();

ob_flush();

flush();

ob_start();

}

$filename = '[url removed, login to view]';

header('Content-Type: video/MP2T');

header("Content-Disposition: attachment; filename=[url removed, login to view]");

$fd = fopen($filename, "r");

while(!feof($fd)) {

echo fread($fd, 1024 * 5);

flush_buffers();

}

fclose ($fd);

die('Out of data');

Taidot: PHP

Näytä lisää: with no restrictions, php timeout fopen, php fopen url set timeout, url convert seo php function, fopen url without timeout, example read timeout fopen, set timeout fopen php, php fopen url examples timeout, url text link php function, set timeout fopen, timeout fopen

Tietoa työnantajasta:
( 1 arvostelu ) Fuck off, Croatia

Projektin tunnus: #8655388

Myönnetty käyttäjälle:

webxtor

Hello. Do you have any errors recorded? Are you able to control PHP settings for this domain? Thank. Eugene

30 $ USD 1 päivässä
(266 arvostelua)
6.7

4 freelanceria on tarjonnut keskimäärin 36 $ tähän työhön

sat12

Hi, I am joomla, virtuemart expert having 5 years of experience... recently i completed these projects [url removed, login to view] [url removed, login to view] [url removed, login to view] please award me the project.

35 $ USD 1 päivässä
(309 arvostelua)
6.6
adamzazad

Hi, May I know what's your hosting type? Shared hosting, or VPS? The 2 minutes time out (or maximum excutation time) is the default 120 seconds for any PHP file running. I would like to hear more details regarding thi Lisää

50 $ USD 0 päivässä
(45 arvostelua)
5.4
tthere

A proposal has not yet been provided

29 $ USD 2 päivässä
(2 arvostelua)
2.1