i need to change the configuration of php.ini on server side (parameter is allow_url_fopen) from off to on but i donot have access to the php.ini file and i want to do it through php code but i dont know wat to do how to do and where to paste that code(should i place it before the headers i am using for downloading the file???)
header('Content-disposition: attachment; filename=' . basename($fileName));
header('Content-Type: application/force-download');
header('Content-Type: application/octet-stream');
header('Content-Type: application/download');
header('Content-Description: File Transfer');
ob_clean();
flush();
readfile($finalFileName);
exit;
thanksss in advance