thanx youngson it worked cheers m8
Upload Limit Probs
Collapse
X
-
Guest
<div class='quotetop'>QUOTE (lee28 @ Feb 24 2009, 08:52 PM) <{POST_SNAPBACK}></div>thanx youngson it worked cheers m8 [/b]
Comment
-
Guest
Mime type is the problem i guess.
AddType video/3gpp .3gp
I don't know your server set up but you need to add that to your mime types
Comment
-
<div class='quotetop'>QUOTE (metulj @ Feb 24 2009, 08:04 PM) <{POST_SNAPBACK}></div>HSDPA is simply great!
7,2Mbit down and 1,8Mbit up so fare...
it'll become faster in time[/b]
I know i love the freedom.
HSPA+, which provides speeds of up to 42 Mbit/s downlink. Can't wait to see that built into a mobile phone it is going to improve so much i can't wait. Then there will be competition so it can only get better.
Comment
-
Code:<?php $filename=$_GET['file']; if(ini_get('zlib.output_compression'))ini_set('zlib.output_compression','Off'); $file_extension=strtolower(substr(strrchr($filename,"."),1)); if($filename==""){ echo "<html><title>download error</title><body>ERROR: download file NOT SPECIFIED.</body></html>"; exit; } elseif(!file_exists("./downloads/$filename")){ echo "<html><title>download error</title><body>ERROR: File not found.</body></html>"; exit; }; switch($file_extension){ case "3gp": $ctype="video/3gpp"; break; case "mp4": $ctype="video/mp4"; break; } header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",false); header("Content-Type: $ctype"); header("Content-Disposition: attachment; filename=\"$filename\";"); header("Content-Transfer-Encoding: binary"); header("Content-Length: ".filesize("./downloads/$filename")); readfile("./downloads/$filename"); exit(); ?>
path should be download.php?filename=$filename dnt put whole path as u set ur download folder in the file u only want the filename
Comment
Comment