
<?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: Create JPG and upload to web server from Processing</title>
	<atom:link href="http://www.shiffman.net/2006/05/02/upload/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shiffman.net/2006/05/02/upload/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 06:20:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Michael Shaub</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-600338</link>
		<dc:creator>Michael Shaub</dc:creator>
		<pubDate>Sun, 17 Jan 2010 22:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-600338</guid>
		<description>Thanks for the pointers Daniel. I think the biggest clue to others trying this and similar scripts with processing is that the error messages are all reported back in the processing window, not on the webpage or any server console (that I could find). I&#039;m not sure if your solution was meant to work if the sketch was on a webserver, but that&#039;s what I wanted to do and I could actually get it to work if I self signed the applet before uploading. I did find another approach by PhiLho on the processing boards that worked without signing the applet. Thanks, this helped get me there!

Please check out my little game with image uploader at http://www.sussmanprejza.com/ar/card/</description>
		<content:encoded><![CDATA[<p>Thanks for the pointers Daniel. I think the biggest clue to others trying this and similar scripts with processing is that the error messages are all reported back in the processing window, not on the webpage or any server console (that I could find). I&#8217;m not sure if your solution was meant to work if the sketch was on a webserver, but that&#8217;s what I wanted to do and I could actually get it to work if I self signed the applet before uploading. I did find another approach by PhiLho on the processing boards that worked without signing the applet. Thanks, this helped get me there!</p>
<p>Please check out my little game with image uploader at <a href="http://www.sussmanprejza.com/ar/card/" rel="nofollow">http://www.sussmanprejza.com/ar/card/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-600320</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 17 Jan 2010 21:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-600320</guid>
		<description>$uploaddir = ‘/home/whatever/’;

The above is the folder you want to upload the files to using the real server path.

$uploadrelativefile = ‘http://www.whatever.net/whatever/’ . $uploadfilename;

The above is the URL path to the file, i.e. what you would type into a browser to see it.  These two paths depend on your server configuration.

and in the sketch there this:

String url = “http://www.mydownain.com/myphp.php”

This is the path to where you put your PHP code, again what you would type in the browser to find it.</description>
		<content:encoded><![CDATA[<p>$uploaddir = ‘/home/whatever/’;</p>
<p>The above is the folder you want to upload the files to using the real server path.</p>
<p>$uploadrelativefile = ‘http://www.whatever.net/whatever/’ . $uploadfilename;</p>
<p>The above is the URL path to the file, i.e. what you would type into a browser to see it.  These two paths depend on your server configuration.</p>
<p>and in the sketch there this:</p>
<p>String url = “http://www.mydownain.com/myphp.php”</p>
<p>This is the path to where you put your PHP code, again what you would type in the browser to find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Shaub</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-596249</link>
		<dc:creator>Mike Shaub</dc:creator>
		<pubDate>Tue, 05 Jan 2010 03:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-596249</guid>
		<description>This looks great! I have the source and would like to try out the program. I am so unfamiliar with server paths and PHP though that I&#039;m not able to setup the directories properly. Could you please explain (iike I&#039;m 5 years old) what folders I should setup on my server? I do know about setting permissions, but the relative folders and where slashes should and shouldn&#039;t go seems to escape me. in your PHP there are 2 paths:
  $uploaddir = &#039;/home/whatever/&#039;;

  $uploadrelativefile = &#039;http://www.whatever.net/whatever/&#039; . $uploadfilename;

and in the sketch there this:
String url = &quot;http://www.mydownain.com/myphp.php&quot;

Could you explain where the processing sketch goes, the folder for uploaded images, and the php script? Thanks, this is pretty nice.</description>
		<content:encoded><![CDATA[<p>This looks great! I have the source and would like to try out the program. I am so unfamiliar with server paths and PHP though that I&#8217;m not able to setup the directories properly. Could you please explain (iike I&#8217;m 5 years old) what folders I should setup on my server? I do know about setting permissions, but the relative folders and where slashes should and shouldn&#8217;t go seems to escape me. in your PHP there are 2 paths:<br />
  $uploaddir = &#8216;/home/whatever/&#8217;;</p>
<p>  $uploadrelativefile = &#8216;<a href="http://www.whatever.net/whatever/" rel="nofollow">http://www.whatever.net/whatever/</a>&#8216; . $uploadfilename;</p>
<p>and in the sketch there this:<br />
String url = &#8220;http://www.mydownain.com/myphp.php&#8221;</p>
<p>Could you explain where the processing sketch goes, the folder for uploaded images, and the php script? Thanks, this is pretty nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A_Flama</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-28710</link>
		<dc:creator>A_Flama</dc:creator>
		<pubDate>Tue, 17 Apr 2007 20:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-28710</guid>
		<description>Very nice!!! I&#039;m gonna try that :D
Thank you!!!</description>
		<content:encoded><![CDATA[<p>Very nice!!! I&#8217;m gonna try that <img src='http://www.shiffman.net/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
Thank you!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-152</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 03 May 2006 11:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-152</guid>
		<description>Ooops, thanks, fixed now!</description>
		<content:encoded><![CDATA[<p>Ooops, thanks, fixed now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jesÃºs gollonet</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-151</link>
		<dc:creator>jesÃºs gollonet</dc:creator>
		<pubDate>Wed, 03 May 2006 10:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-151</guid>
		<description>btw, i&#039;m trying to open the http_post.zip but i can&#039;t. It seems to be corrupted. Could you check it, please?

Thanks again</description>
		<content:encoded><![CDATA[<p>btw, i&#8217;m trying to open the http_post.zip but i can&#8217;t. It seems to be corrupted. Could you check it, please?</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thedemos &#187; Blog Archive &#187; Create JPG and upload to web server from Processing</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-150</link>
		<dc:creator>thedemos &#187; Blog Archive &#187; Create JPG and upload to web server from Processing</dc:creator>
		<pubDate>Wed, 03 May 2006 09:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-150</guid>
		<description>[...] http://www.shiffman.net/2006/05/02/upload/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.shiffman.net/2006/05/02/upload/" rel="nofollow">http://www.shiffman.net/2006/05/02/upload/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jesÃºs gollonet</title>
		<link>http://www.shiffman.net/2006/05/02/upload/comment-page-1/#comment-149</link>
		<dc:creator>jesÃºs gollonet</dc:creator>
		<pubDate>Wed, 03 May 2006 08:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2006/05/02/create-jpg-and-upload-to-web-server-from-processing/#comment-149</guid>
		<description>yum! I was about to ask you for that as I have to do something similar. Thanks very much!</description>
		<content:encoded><![CDATA[<p>yum! I was about to ask you for that as I have to do something similar. Thanks very much!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

