![]() |
Different between direct and redirect path - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Different between direct and redirect path (/showthread.php?tid=74404) |
Different between direct and redirect path - omid_student - 09-19-2019 Hi I have a video file in my project and try to show it in my app android I use two way for show it 1: show video directly => http://example.com/files/video.mp4 2: show video with redirect (in this way,i have script file that i send file name to it and redirect to video) <?php $file_id = $_GET['file_name']; redirect('http://example.com/files/".$file_id); ?> And the main issue is : When i show video directly,download speed is high and there is no problem But when i use my script for show video,it is very slow Why? |