<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — The Below code is not working to download sql file from server]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6988</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6988&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in The Below code is not working to download sql file from server.]]></description>
		<lastBuildDate>Sun, 24 Sep 2017 06:19:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: The Below code is not working to download sql file from server]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28712#p28712</link>
			<description><![CDATA[<p>I am trying to create sql backup and download it straight away for my extension(hrm). Which i am trying to use the FA backup codes.There it worked fine.But its not working properly.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Sun, 24 Sep 2017 06:19:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28712#p28712</guid>
		</item>
		<item>
			<title><![CDATA[Re: The Below code is not working to download sql file from server]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28710#p28710</link>
			<description><![CDATA[<p>State where you are using this construct and context.</p><p>1. Remove pragma-cache<br />2. Set expiry for refresh to old date<br />3. Make sure file_get contents is within the max filesize and timeouts set in php.ini / apache conf files.<br />4. Zipping the sql will save bandwidth if http gz compression is not enabled.</p><p>View <a href="https://stackoverflow.com/questions/1907653/how-to-force-page-not-to-be-cached-in-php">discussion</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 24 Sep 2017 01:54:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28710#p28710</guid>
		</item>
		<item>
			<title><![CDATA[The Below code is not working to download sql file from server]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28709#p28709</link>
			<description><![CDATA[<p>i was trying to download sql file using this script.But its not working </p><div class="codebox"><pre><code> header(&quot;Content-type: &#039;application/sql&#039;&quot;);
            header(&#039;Content-Length: &#039;.filesize(dirname(dirname(__FILE__)).&#039;/backups/&#039;.$key.&#039;.sql&#039;));
            header(&#039;Content-Disposition: attachment; filename=&#039;.$key.&#039;.sql&#039;);
            echo file_get_contents(dirname(dirname(__FILE__)).&#039;/backups/&#039;.$key.&#039;.sql&#039;);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Sat, 23 Sep 2017 17:15:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28709#p28709</guid>
		</item>
	</channel>
</rss>
