Unicode output in downloaded code

This code is to download images, doc and PDF files, it is not working it gives to me Unicode characters on the web page not download any format of files like this
%PDF-1.3 1 0 obj <> stream ����JFIF����C $.' ",#(7),01444'9=82<.342��C �� "v"�� ���}!1AQa"q2���#B��R��br� %&'(�����������������������������������������

the code is


<?php
session_start();
include("global.php");
$path = strip_tags(intval($_GET["path"])) ;
$type = strip_tags(intval($_GET["type"])) ;

function...
PHP:

Unicode output in downloaded code
Digital Point

Leave a Reply

Your email address will not be published. Required fields are marked *