skip to Main Content

Php versions – Downloading files via PHP problem on webserver

Could someone help me with a little PHP problem? This is my code: $mr = mysqli_fetch_assoc($ms); header('Content-Type: application/octet-stream'); header("Content-Transfer-Encoding: Binary"); header("Content-disposition: attachment; filename="" . basename($mr['flink']) . """); readfile($mr['flink']); header("Location: ref.php?action=viewdeti&id=".$_GET['id']); Where $mysqli is my mysql connection and $id is $_GET['id'].…

VIEW QUESTION
Back To Top
Search