<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Opera mini cannot download my pdf files]]></title><description><![CDATA[<p dir="auto">hi am a php developer. i have a script that runs fine in all browser (including opera version 42.7.2246.114996) but cannot work for opera mini.Please help<br />
&lt;?php<br />
$name=$_POST['fileName'].".pdf";<br />
function download($downloadfile)<br />
{<br />
GLOBAL $name;<br />
$path='../files/samples/';<br />
$filename=$path.$downloadfile;<br />
$file=fopen($filename,"rb");<br />
$filesize=filesize($filename);<br />
$filetext=fread($file,$filesize);<br />
header("Content-Type: application/octet-stream");<br />
header("Content-Transfer-Encoding:binary");<br />
header("Content-disposition: attachment; filename="" . $name . """);<br />
header("Accept-Ranges:bytes");<br />
header("Content-Length:".$filesize."");<br />
header("Cache-Control: no-cache, must-revalidate");<br />
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");<br />
header("cache-control: private");<br />
header('Pragma: private');</p>
<p dir="auto">echo "</p>
<pre><code>".$filetext."
</code></pre>
<p dir="auto">";<br />
fclose($file);<br />
}<br />
download($name);<br />
?&gt;</p>
]]></description><link>https://forums.opera.com/topic/22322/opera-mini-cannot-download-my-pdf-files</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 22:37:56 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/22322.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Aug 2017 20:27:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Opera mini cannot download my pdf files on Tue, 22 Aug 2017 08:10:10 GMT]]></title><description><![CDATA[<p dir="auto">Can you describe what exactly happens in Opera Mini? Are you talking about Opera Mini for Android? In High or Extreme compression mode?</p>
]]></description><link>https://forums.opera.com/post/126600</link><guid isPermaLink="true">https://forums.opera.com/post/126600</guid><dc:creator><![CDATA[mbaluta]]></dc:creator><pubDate>Tue, 22 Aug 2017 08:10:10 GMT</pubDate></item></channel></rss>