<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — print documents empty.pdf]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8677&amp;type=atom" />
	<updated>2020-02-01T04:16:22Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8677</id>
		<entry>
			<title type="html"><![CDATA[Re: print documents empty.pdf]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36944#p36944" />
			<content type="html"><![CDATA[<p>Sorry guys, I think this might be my doing because of some changes I made in pdf_report.inc</p>]]></content>
			<author>
				<name><![CDATA[cristiart]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17592</uri>
			</author>
			<updated>2020-02-01T04:16:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36944#p36944</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: print documents empty.pdf]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36943#p36943" />
			<content type="html"><![CDATA[<p>This works properly for me too. random_id function used here makes 3 different approaches to generate random filename, the last being Mersenne Twister generator, which does not rely on any special php extension, so should work in all php versions.&nbsp; Also, uniquid() is not random, so this change would open additional vulnerability in FA, making temporary copy of pdf documents easy to find.<br />If you will find source of this problem, please report it again, we will try to fix it.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2020-01-31T22:55:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36943#p36943</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: print documents empty.pdf]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36941#p36941" />
			<content type="html"><![CDATA[<p>I cannot reproduce this error. The function uniqid() is not strong enough for the purpose. However it is up to you.</p><p>I have asked Janusz to look at it.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2020-01-30T09:03:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36941#p36941</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[print documents empty.pdf]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36940#p36940" />
			<content type="html"><![CDATA[<p>if you try to print some documents (like customer statement) the file is .pdf -&gt; as in empty.pdf</p><p>so in pdf_report.inc change $fname to<br />$fname = $dir.&#039;/&#039;.uniqid(&#039;&#039;).&#039;.pdf&#039;;</p>]]></content>
			<author>
				<name><![CDATA[cristiart]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17592</uri>
			</author>
			<updated>2020-01-30T02:22:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36940#p36940</id>
		</entry>
</feed>
