Ukončen

I would like to hire a PHP Developer

Hello, I found this really nice MP4 Streaming PHP Script online and I just need some help so i can grab videos from remote url's instead of inside the server. For example, right now it only grabs from [url removed, login to view] but i would like to make it grab the video from [url removed, login to view]

Only willing to pay $10, heres the script:

<?php

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

$fp = @fopen($file, 'rb');

$size = filesize($file); // File size

$length = $size; // Content length

$start = 0; // Start byte

$end = $size - 1; // End byte

header('Content-type: video/mp4');

//header("Accept-Ranges: 0-$length");

header("Accept-Ranges: bytes");

if (isset($_SERVER['HTTP_RANGE'])) {

$c_start = $start;

$c_end = $end;

list(, $range) = explode('=', $_SERVER['HTTP_RANGE'], 2);

if (strpos($range, ',') !== false) {

header('HTTP/1.1 416 Requested Range Not Satisfiable');

header("Content-Range: bytes $start-$end/$size");

exit;

}

if ($range == '-') {

$c_start = $size - substr($range, 1);

}else{

$range = explode('-', $range);

$c_start = $range[0];

$c_end = (isset($range[1]) && is_numeric($range[1])) ? $range[1] : $size;

}

$c_end = ($c_end > $end) ? $end : $c_end;

if ($c_start > $c_end || $c_start > $size - 1 || $c_end >= $size) {

header('HTTP/1.1 416 Requested Range Not Satisfiable');

header("Content-Range: bytes $start-$end/$size");

exit;

}

$start = $c_start;

$end = $c_end;

$length = $end - $start + 1;

fseek($fp, $start);

header('HTTP/1.1 206 Partial Content');

}

header("Content-Range: bytes $start-$end/$size");

header("Content-Length: ".$length);

$buffer = 1024 * 8;

while(!feof($fp) && ($p = ftell($fp)) <= $end) {

if ($p + $buffer > $end) {

$buffer = $end - $p + 1;

}

set_time_limit(0);

echo fread($fp, $buffer);

flush();

}

fclose($fp);

exit();

?>

Dovednosti: PHP

Zobrazit více: php laravel developer hire, php developer hire madurai, php developer hire bs20, need php developer hire, php developer hire, php developer hire mumbai, buddypress developer website hire, developer php iran, sql php hire

O zaměstnavateli:
( 0 recenzí ) Canada

IČ projektu: #12202798

11 freelancerů učinili na tento projekt nabídku v průměrné výši $41

A2Design

Hi, Nice project you have there, let us help you with it! Our team is Russian-Canadian. We code in PHP. Check our recent projects here http://www.a2design.biz/portfolio_ Here’s a little video about our team too! ht Více

$30 USD za 1 den
(80 recenzí)
8.4
tanpn89

Dear Sir or Madam, How are you doing! These are some PHP sites I worked on: - tokyoapartments.online - justinvandeventer.com - japan-village.com - gooddaytourusa.com - snakebossreptileshows.com.au - giatotmekon Více

$25 USD za 10 dní
(56 recenzí)
5.7
justTry

Ten bucks, you got to be kidding. I have my own script that does exactly this, demo here: http://drtech76.sytes.net/php_stream_video/test.php

$150 USD za 0 dní
(126 recenzí)
5.7
ervivekit

Hello, I have 6 + year's of working experience in Web Development industry, and I have worked on various type's of project's like E-commerce, Music , Sports, Web-Services and etc. In various php plateform like Opencart Více

$25 USD za 1 den
(27 recenzí)
4.1
vantuanvn

Hello sir, I can work on this project easily. I am from Vietnam, I have 8 year in Software Industry with many running product. I have experience in web application with many large sites in PHP, Java enterprise applic Více

$25 USD za 1 den
(12 recenzí)
4.2
sherlyn77

Hello there, I have reviewed your job description as well and very confident to complete this project. I am expert Web developer, designer and troubleshooter. Below are the core ares where I have the greate exposu Více

$45 USD za 3 dní
(4 recenzí)
3.6
deltatechnepal

Hello, We are a website design and development company. Our expertise include: - Open source Platform Development (Wordpress, Drupal, Joomla) - Ecommerce Development (Magento, Zencart, Prestashop, Woocommerce, Op Více

$25 USD za 1 den
(2 recenzí)
2.6
zhangwei9999

Dear client, A great job for me while I am an expert of php. Don be worry even not long on freelancer, however I have many experience in this area so I can complete your job perfectly. Please hire me and sen Více

$55 USD za 1 den
(1 recenze)
1.1
pratiksangani123

Hi there.! We are very much interested in your current project.We believe we are a perfect match for your project because here at Caliente iTech we all believe in customer satisfaction first.Also, we have prior experi Více

$25 USD za 1 den
(1 recenze)
0.3
mascotsoft4

Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project befor Více

$23 USD za 6 dní
(0 recenzí)
0.0
arsalsoft3

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. I am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have c Více

$25 USD za 1 den
(0 recenzí)
0.0