<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Upload update</title>
	<link>http://tomas.epineer.se/archives/11</link>
	<description>Macs, Rails, PHP and general nerdery</description>
	<pubDate>Sat, 04 Feb 2012 17:02:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: kim kardashian sex tape price</title>
		<link>http://tomas.epineer.se/archives/11#comment-88696</link>
		<pubDate>Mon, 06 Sep 2010 18:32:04 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-88696</guid>
					<description>&lt;p&gt;Great site. Keep doing., http://en.gravatar.com/kimkardashiansextapes kim kardashian sex tape,  009840,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great site. Keep doing., http://en.gravatar.com/kimkardashiansextapes kim kardashian sex tape,  009840,</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: united of omaha life insurance</title>
		<link>http://tomas.epineer.se/archives/11#comment-60243</link>
		<pubDate>Sun, 17 Feb 2008 00:09:06 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-60243</guid>
					<description>&lt;p&gt;&lt;strong&gt;united of omaha life insurance...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;cruising coiling withers....&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>united of omaha life insurance&#8230;</strong></p>
<p>cruising coiling withers&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: free online credit report with no charges at all</title>
		<link>http://tomas.epineer.se/archives/11#comment-60036</link>
		<pubDate>Fri, 15 Feb 2008 21:54:18 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-60036</guid>
					<description>&lt;p&gt;&lt;strong&gt;free online credit report with no charges at all...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;counselor scythe!newsmen shielding occlude ...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>free online credit report with no charges at all&#8230;</strong></p>
<p>counselor scythe!newsmen shielding occlude &#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: yebojunk</title>
		<link>http://tomas.epineer.se/archives/11#comment-35032</link>
		<pubDate>Fri, 31 Aug 2007 14:20:46 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-35032</guid>
					<description>&lt;p&gt;OK After struggeling for a while( 2 days) on windows system I got it to work. Opening binary files in windows need special treatment as they are written differently so they must be opened in binary mode to do this in perl after some digging on the internet I found it. You must use binmode&lt;/p&gt;

&lt;p&gt;search for the following in upload.cgi&lt;/p&gt;

&lt;p&gt;open(TMP,”&amp;#62;”,”$post_data_file”) or &amp;#38;bye_bye (”Can’t open temp file”);&lt;/p&gt;

&lt;p&gt;after that add&lt;/p&gt;

&lt;p&gt;binmode TMP;&lt;/p&gt;

&lt;p&gt;so it will look like&lt;/p&gt;

&lt;p&gt;open(TMP,”&amp;#62;”,”$post_data_file”) or &amp;#38;bye_bye (”Can’t open temp file”);
binmode TMP;&lt;/p&gt;

&lt;p&gt;do the same for the following line&lt;/p&gt;

&lt;p&gt;open(STDIN,”$post_data_file”) or &amp;#38;bye_bye(”Can’t open temp file”);&lt;/p&gt;

&lt;p&gt;so it will look like
open(STDIN,”$post_data_file”) or &amp;#38;bye_bye(”Can’t open temp file”);
binmode STDIN;&lt;/p&gt;

&lt;p&gt;Hope this will help windows users out there I lost all my hair because of this (Just kidding I am bold anyways)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>OK After struggeling for a while( 2 days) on windows system I got it to work. Opening binary files in windows need special treatment as they are written differently so they must be opened in binary mode to do this in perl after some digging on the internet I found it. You must use binmode</p>
<p>search for the following in upload.cgi</p>
<p>open(TMP,”&gt;”,”$post_data_file”) or &amp;bye_bye (”Can’t open temp file”);</p>
<p>after that add</p>
<p>binmode TMP;</p>
<p>so it will look like</p>
<p>open(TMP,”&gt;”,”$post_data_file”) or &amp;bye_bye (”Can’t open temp file”);<br />
binmode TMP;</p>
<p>do the same for the following line</p>
<p>open(STDIN,”$post_data_file”) or &amp;bye_bye(”Can’t open temp file”);</p>
<p>so it will look like<br />
open(STDIN,”$post_data_file”) or &amp;bye_bye(”Can’t open temp file”);<br />
binmode STDIN;</p>
<p>Hope this will help windows users out there I lost all my hair because of this (Just kidding I am bold anyways)</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Huseyin</title>
		<link>http://tomas.epineer.se/archives/11#comment-16992</link>
		<pubDate>Sat, 14 Apr 2007 00:04:49 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-16992</guid>
					<description>&lt;p&gt;Hi,
i am using your upload script it works fine but when i am trying to upload large files ( about 45MB) it stops.. how can i avoid this problem ?&lt;/p&gt;

&lt;p&gt;Also i tired to change the upload.cgi to nph-upload.cgi (non parsed header) but it still cant upload large files... its always timeout by browser...&lt;/p&gt;

&lt;p&gt;Could you help ?&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i am using your upload script it works fine but when i am trying to upload large files ( about 45MB) it stops.. how can i avoid this problem ?</p>
<p>Also i tired to change the upload.cgi to nph-upload.cgi (non parsed header) but it still cant upload large files&#8230; its always timeout by browser&#8230;</p>
<p>Could you help ?</p>
<p>Regards,</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Chris</title>
		<link>http://tomas.epineer.se/archives/11#comment-11808</link>
		<pubDate>Thu, 01 Feb 2007 14:22:39 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-11808</guid>
					<description>&lt;p&gt;Is there a place where I can see a demo?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is there a place where I can see a demo?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Marcio</title>
		<link>http://tomas.epineer.se/archives/11#comment-3908</link>
		<pubDate>Thu, 02 Nov 2006 16:58:54 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-3908</guid>
					<description>&lt;p&gt;Hi Good day my name is Marcio lives in Brazil and is Programmer using the Coldfusion language.&lt;/p&gt;

&lt;p&gt;he is possivel to make upload in ajax using the Coldfusion language?&lt;/p&gt;

&lt;p&gt;I did not find no example in the Net that exemplifique as to make this procedure.&lt;/p&gt;

&lt;p&gt;You could help me?&lt;/p&gt;

&lt;p&gt;Atenciosamente
Marcio dos Santos Amorim 
CEREBRUM - Websites e Softwares para Internet 
http://www.cerebrum.com.br/ 
telefax: 55 (11) 6205.3350 - celular: 55 (11) 9603.3874 
msn: atendimento@cerebrum.com.br - skype: atendimento_cerebrum&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Good day my name is Marcio lives in Brazil and is Programmer using the Coldfusion language.</p>
<p>he is possivel to make upload in ajax using the Coldfusion language?</p>
<p>I did not find no example in the Net that exemplifique as to make this procedure.</p>
<p>You could help me?</p>
<p>Atenciosamente<br />
Marcio dos Santos Amorim<br />
CEREBRUM - Websites e Softwares para Internet<br />
http://www.cerebrum.com.br/<br />
telefax: 55 (11) 6205.3350 - celular: 55 (11) 9603.3874<br />
msn: atendimento@cerebrum.com.br - skype: atendimento_cerebrum</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: cent</title>
		<link>http://tomas.epineer.se/archives/11#comment-1259</link>
		<pubDate>Wed, 09 Aug 2006 22:25:00 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-1259</guid>
					<description>&lt;p&gt;Hi... got it installed and tracked some error messages to my misconfiguation of the settings.  The file upload worked fine and the progress bar moved (yay!!!).  Once it was done, I clicked submit and got a number of error messages on the next page:&lt;/p&gt;

&lt;p&gt;Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_qstring): Operation not permitted in...&lt;/p&gt;

&lt;p&gt;Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_flength): Operation not permitted in...&lt;/p&gt;

&lt;p&gt;Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_postdata): Operation not permitted in...&lt;/p&gt;

&lt;p&gt;Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_signal): Operation not permitted in...&lt;/p&gt;

&lt;p&gt;Looking into the code, why is the script appending the file with &quot;_qstring&quot;, &quot;_flength&quot;, &quot;_postdata&quot;, &quot;_signal&quot;, etc.?  Are these scratch files used to calculate and process the incoming file?&lt;/p&gt;

&lt;p&gt;I know I've been able to write to the /tmp directory, move files and delete files from there.  However, the PHP script doesn't seem to be able to do so.&lt;/p&gt;

&lt;p&gt;Also, can the script be tailored to upload when the user clicks &quot;Submit&quot; instead of before?  And once the file is uploaded and the progress bar reaches 100%, it can be redirected to a &quot;thank you&quot; page?&lt;/p&gt;

&lt;p&gt;Thanks in advance.
Cent&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi&#8230; got it installed and tracked some error messages to my misconfiguation of the settings.  The file upload worked fine and the progress bar moved (yay!!!).  Once it was done, I clicked submit and got a number of error messages on the next page:</p>
<p>Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_qstring): Operation not permitted in&#8230;</p>
<p>Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_flength): Operation not permitted in&#8230;</p>
<p>Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_postdata): Operation not permitted in&#8230;</p>
<p>Warning: unlink(/tmp/68bcdb2cbaacbabe6edb68779cb2f1b2_signal): Operation not permitted in&#8230;</p>
<p>Looking into the code, why is the script appending the file with &#8220;_qstring&#8221;, &#8220;_flength&#8221;, &#8220;_postdata&#8221;, &#8220;_signal&#8221;, etc.?  Are these scratch files used to calculate and process the incoming file?</p>
<p>I know I&#8217;ve been able to write to the /tmp directory, move files and delete files from there.  However, the PHP script doesn&#8217;t seem to be able to do so.</p>
<p>Also, can the script be tailored to upload when the user clicks &#8220;Submit&#8221; instead of before?  And once the file is uploaded and the progress bar reaches 100%, it can be redirected to a &#8220;thank you&#8221; page?</p>
<p>Thanks in advance.<br />
Cent</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: irfaan</title>
		<link>http://tomas.epineer.se/archives/11#comment-521</link>
		<pubDate>Tue, 06 Jun 2006 04:20:22 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-521</guid>
					<description>&lt;p&gt;Hi:) I really don't want to be a bother, but I am also experiencing issues that I have been unable to resolve. After searching through all comments and sifting through supposed solutions found here and on sourceforge, I am stuck - unable to troubleshoot why 'PHP can't write to temp dir () or the upload dir ().'&lt;/p&gt;

&lt;p&gt;I have uploaded html contents to 'domain.tld/upload', and cgi to my cgi bin (perl works perfectly). My temp and upload directories are 'domain.tld/tmp' and 'domain.tld/tmp/uploads' respectively. Both folders have permissions set to 777. I have also tried 755.&lt;/p&gt;

&lt;p&gt;My settings in upload_settings.inc and upload.cgi look like: '$tmp_dir=&quot;/tmp&quot;;'&lt;/p&gt;

&lt;p&gt;Any thoughts? Looking forward to your reply.&lt;/p&gt;

&lt;p&gt;Thanks in advance for an excellent piece of software:) Irfaan.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi:) I really don&#8217;t want to be a bother, but I am also experiencing issues that I have been unable to resolve. After searching through all comments and sifting through supposed solutions found here and on sourceforge, I am stuck - unable to troubleshoot why &#8216;PHP can&#8217;t write to temp dir () or the upload dir ().&#8217;</p>
<p>I have uploaded html contents to &#8216;domain.tld/upload&#8217;, and cgi to my cgi bin (perl works perfectly). My temp and upload directories are &#8216;domain.tld/tmp&#8217; and &#8216;domain.tld/tmp/uploads&#8217; respectively. Both folders have permissions set to 777. I have also tried 755.</p>
<p>My settings in upload_settings.inc and upload.cgi look like: &#8216;$tmp_dir=&#8221;/tmp&#8221;;&#8217;</p>
<p>Any thoughts? Looking forward to your reply.</p>
<p>Thanks in advance for an excellent piece of software:) Irfaan.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: chrysb</title>
		<link>http://tomas.epineer.se/archives/11#comment-242</link>
		<pubDate>Wed, 10 May 2006 08:38:21 +0000</pubDate>
		<guid>http://tomas.epineer.se/archives/11#comment-242</guid>
					<description>&lt;p&gt;Just wanted to let you know I installed it, doesn't work.  No errors, so I'm assuming there's some foggy water between the perl and php script.  Would love to get this to work.. must keep searching.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just wanted to let you know I installed it, doesn&#8217;t work.  No errors, so I&#8217;m assuming there&#8217;s some foggy water between the perl and php script.  Would love to get this to work.. must keep searching.</p>
]]></content:encoded>
				</item>
</channel>
</rss>

