<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Safari, PHP, and File Uploads</title>
	<atom:link href="http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/</link>
	<description>Geoff Gaudreault's Flash weblog and source files archive.</description>
	<lastBuildDate>Mon, 26 Dec 2011 06:37:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Anders</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-2024</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Mon, 25 Sep 2006 12:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-2024</guid>
		<description>Too bad I didn&#039;t read this earlier. I also found the same bug/solution you did. (About display=none) But on the bright side, I learned a bit about tcpdumping =)</description>
		<content:encoded><![CDATA[<p>Too bad I didn&#8217;t read this earlier. I also found the same bug/solution you did. (About display=none) But on the bright side, I learned a bit about tcpdumping =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geoff</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-2007</link>
		<dc:creator>geoff</dc:creator>
		<pubDate>Fri, 15 Sep 2006 19:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-2007</guid>
		<description>Note this problem was solved.  The post is &lt;a href=&quot;http://www.neurofuzzy.net/2006/07/09/safari-and-php-file-uploads-solved/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.  Thanks!</description>
		<content:encoded><![CDATA[<p>Note this problem was solved.  The post is <a href="http://www.neurofuzzy.net/2006/07/09/safari-and-php-file-uploads-solved/" rel="nofollow">here</a>.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-2006</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Fri, 15 Sep 2006 08:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-2006</guid>
		<description>Just wanted to send my sympathies, I have the same problem. Haven&#039;t tested the ethereal solution though.

I have tries php 5.1.2 with ligthttpd (fastcgi) and apache 2.2.X with php 5.1.5 (so-module). The problem exists in both setups.</description>
		<content:encoded><![CDATA[<p>Just wanted to send my sympathies, I have the same problem. Haven&#8217;t tested the ethereal solution though.</p>
<p>I have tries php 5.1.2 with ligthttpd (fastcgi) and apache 2.2.X with php 5.1.5 (so-module). The problem exists in both setups.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian MARIN</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-772</link>
		<dc:creator>Cristian MARIN</dc:creator>
		<pubDate>Tue, 25 Apr 2006 22:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-772</guid>
		<description>Why you won&#039;t take the Ethereal which is an excelent tool for these kind of problems when you really don&#039;t have any clue on what happens in the communication layer and try to see where the problem reside?

I always do this when I suspect browser-PHP communication bugs. Try uploading same file (a small image of 1k) on IE or Firefox then into the Safari and compare the results . It is pretty straight forward Start-&gt;Capture then after the page finish reloading into the browser click the stop, identify your request on the server (POST /page.php). Right click on it and in the menu choose Follow TCP/IP Stream.

I hope it helps</description>
		<content:encoded><![CDATA[<p>Why you won&#8217;t take the Ethereal which is an excelent tool for these kind of problems when you really don&#8217;t have any clue on what happens in the communication layer and try to see where the problem reside?</p>
<p>I always do this when I suspect browser-PHP communication bugs. Try uploading same file (a small image of 1k) on IE or Firefox then into the Safari and compare the results . It is pretty straight forward Start-&gt;Capture then after the page finish reloading into the browser click the stop, identify your request on the server (POST /page.php). Right click on it and in the menu choose Follow TCP/IP Stream.</p>
<p>I hope it helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geoff</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-744</link>
		<dc:creator>geoff</dc:creator>
		<pubDate>Mon, 24 Apr 2006 22:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-744</guid>
		<description>Flashape,

Yes, I know... it works in every other browser, so I&#039;m pretty sure that&#039;s not the issue.  It just seems like Safari is aborting the upload for some reason... or more likely, PHP doesn&#039;t see what is being sent and aborts the process.

The odd thing is that this Wordpress install works fine, and it&#039;s on the exact same config.</description>
		<content:encoded><![CDATA[<p>Flashape,</p>
<p>Yes, I know&#8230; it works in every other browser, so I&#8217;m pretty sure that&#8217;s not the issue.  It just seems like Safari is aborting the upload for some reason&#8230; or more likely, PHP doesn&#8217;t see what is being sent and aborts the process.</p>
<p>The odd thing is that this WordPress install works fine, and it&#8217;s on the exact same config.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jg</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-743</link>
		<dc:creator>jg</dc:creator>
		<pubDate>Mon, 24 Apr 2006 21:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-743</guid>
		<description>Oh, that was shite what I posted if it worked with different browsers before. So obviously not the problem. I&#039;ll try and remember what I did and get back to you.</description>
		<content:encoded><![CDATA[<p>Oh, that was shite what I posted if it worked with different browsers before. So obviously not the problem. I&#8217;ll try and remember what I did and get back to you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jg</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-742</link>
		<dc:creator>jg</dc:creator>
		<pubDate>Mon, 24 Apr 2006 21:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-742</guid>
		<description>Had the same problem two or three weeks ago. Multiple files aren&#039;t a problem usually. Are the files you&#039;re uploading very big? I thought that the server would have at least started streaming first but it stopped immediately. I upped the post_max_size and upload_max_filesize. I hope I remember the solution right, had several problems with uploads but I think that was what fixed the upload stopping immediately.</description>
		<content:encoded><![CDATA[<p>Had the same problem two or three weeks ago. Multiple files aren&#8217;t a problem usually. Are the files you&#8217;re uploading very big? I thought that the server would have at least started streaming first but it stopped immediately. I upped the post_max_size and upload_max_filesize. I hope I remember the solution right, had several problems with uploads but I think that was what fixed the upload stopping immediately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flashape</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-739</link>
		<dc:creator>flashape</dc:creator>
		<pubDate>Mon, 24 Apr 2006 21:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-739</guid>
		<description>well, since you bring up multiple file upload, i&#039;m not sure if you are aware of this or not but the $_FILES array in php will be structured a little bit differently if you are uploading multiple files at one time.

http://us3.php.net/manual/en/features.file-upload.multiple.php</description>
		<content:encoded><![CDATA[<p>well, since you bring up multiple file upload, i&#8217;m not sure if you are aware of this or not but the $_FILES array in php will be structured a little bit differently if you are uploading multiple files at one time.</p>
<p><a href="http://us3.php.net/manual/en/features.file-upload.multiple.php" rel="nofollow">http://us3.php.net/manual/en/features.file-upload.multiple.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geoff</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-726</link>
		<dc:creator>geoff</dc:creator>
		<pubDate>Mon, 24 Apr 2006 17:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-726</guid>
		<description>I&#039;m running PHP 4.3.1 and the latest Safari.  You know, I just realized that Wordpress has no problem uploading files... so it must be something with the way I coded the backend?  Or perhaps because I&#039;m accepting multiple file inputs as opposed to 1?</description>
		<content:encoded><![CDATA[<p>I&#8217;m running PHP 4.3.1 and the latest Safari.  You know, I just realized that WordPress has no problem uploading files&#8230; so it must be something with the way I coded the backend?  Or perhaps because I&#8217;m accepting multiple file inputs as opposed to 1?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miles</title>
		<link>http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/comment-page-1/#comment-723</link>
		<dc:creator>Miles</dc:creator>
		<pubDate>Mon, 24 Apr 2006 16:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.neurofuzzy.net/2006/04/24/safari-php-and-file-uploads/#comment-723</guid>
		<description>Hi,

I maintain several websites (all running PHP 4.x in linux) and am often uploading data via Safari without problem.  What website, Safari version, PHP version, .etc?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I maintain several websites (all running PHP 4.x in linux) and am often uploading data via Safari without problem.  What website, Safari version, PHP version, .etc?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

