<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sprain&#039;s &#187; Developement</title>
	<atom:link href="http://sprain.ch/blog/category/developement/feed/" rel="self" type="application/rss+xml" />
	<link>http://sprain.ch/blog</link>
	<description></description>
	<lastBuildDate>Sat, 31 Jul 2010 01:39:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>24 Stunden für eine iPhone App</title>
		<link>http://sprain.ch/blog/2010/07/30/24-stunden-fur-ein-iphone-app/</link>
		<comments>http://sprain.ch/blog/2010/07/30/24-stunden-fur-ein-iphone-app/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 18:20:32 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Developement]]></category>
		<category><![CDATA[24h]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=5496</guid>
		<description><![CDATA[Ich hab jetzt gerade 24 absolut freie Stunden, ohne Pläne und Verpflichtungen. Zeit, die ich nehmen könnte, um endlich mal meine erste iPhone-App zu bauen. Ideen, was es sein könnte? Voraussetzung: Es muss sehr basic sein. Bin ja seit zwei Jahren Anfänger ohne Fortschritt auf diesem Gebiet :) Update, 03:30 Uhr: Ich bin dran! Es [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2010/04/12/iphone-apps-am-kuhlschrank/' rel='bookmark' title='Permanent Link: iPhone Apps am Kühlschrank'>iPhone Apps am Kühlschrank</a></li>
<li><a href='http://sprain.ch/blog/2008/08/08/iphone-location-in-webapp-nutzen/' rel='bookmark' title='Permanent Link: iPhone Location in WebApp nutzen'>iPhone Location in WebApp nutzen</a></li>
<li><a href='http://sprain.ch/blog/2008/08/06/gottago-cooles-v-iphone-app-fr-die-schweiz/' rel='bookmark' title='Permanent Link: GottaGo &#8211; cooles öV-iPhone-App für die Schweiz'>GottaGo &#8211; cooles öV-iPhone-App für die Schweiz</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ich hab jetzt gerade 24 absolut freie Stunden, ohne Pläne und Verpflichtungen. Zeit, die ich nehmen könnte, um endlich mal meine erste iPhone-App zu bauen.<br />
Ideen, was es sein könnte? Voraussetzung: Es muss sehr basic sein. Bin ja seit zwei Jahren Anfänger ohne Fortschritt auf diesem Gebiet :)</p>
<p><a href="http://sprain.ch/blog/wp-content/uploads/2010/07/Bildschirmfoto-2010-07-31-um-03.36.11.png"><img class="alignnone size-medium wp-image-5500" title="App" src="http://sprain.ch/blog/wp-content/uploads/2010/07/Bildschirmfoto-2010-07-31-um-03.36.11-161x300.png" alt="" width="97" height="180" /></a><strong>Update, 03:30 Uhr:</strong><br />
Ich bin dran! Es gibt eine Counter-App. Scheint jetzt vielleicht komisch, aber ich habe im privaten Rahmen tatsächlich eine Anwendung, wo ich sowas nutzen kann. Und nein, es ist nicht die erste Counter-App dieser Welt. Aber wofür gibt es noch keine App, die ich mit meinen bescheidenen Kenntnissen umsetzen könnte?<br />
<br clear="all" /></p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2010/04/12/iphone-apps-am-kuhlschrank/' rel='bookmark' title='Permanent Link: iPhone Apps am Kühlschrank'>iPhone Apps am Kühlschrank</a></li>
<li><a href='http://sprain.ch/blog/2008/08/08/iphone-location-in-webapp-nutzen/' rel='bookmark' title='Permanent Link: iPhone Location in WebApp nutzen'>iPhone Location in WebApp nutzen</a></li>
<li><a href='http://sprain.ch/blog/2008/08/06/gottago-cooles-v-iphone-app-fr-die-schweiz/' rel='bookmark' title='Permanent Link: GottaGo &#8211; cooles öV-iPhone-App für die Schweiz'>GottaGo &#8211; cooles öV-iPhone-App für die Schweiz</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/07/30/24-stunden-fur-ein-iphone-app/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>class.Images.php: Jezt mit Wasserzeichen</title>
		<link>http://sprain.ch/blog/2010/07/19/class-images-php-jezt-mit-wasserzeichen/</link>
		<comments>http://sprain.ch/blog/2010/07/19/class-images-php-jezt-mit-wasserzeichen/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 15:55:06 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[class.Images.php]]></category>
		<category><![CDATA[wasserzeichen]]></category>
		<category><![CDATA[watermark]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=5361</guid>
		<description><![CDATA[Cool! Da meine PHP-Bildbearbeitungsklasse offenbar auch in Brasilien genutzt wird bin ich dortigen Wünschen gerne nachgekommen. Die Klasse kann nun Bilder mit einem Wasserzeichen schmücken: Transparenz und Position kann frei gesetzt werden. Theoretisch kann man das Wasserzeichen auch beliebig drehen und in der Grösse verändern, aber das funktioniert noch nicht ganz einwandfrei mit Wasserzeichen-Bildern, die [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2010/05/05/class-images-php-eine-php-klasse-zur-bildmanipulation/' rel='bookmark' title='Permanent Link: class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation'>class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation</a></li>
<li><a href='http://sprain.ch/blog/2010/05/10/class-einzahlungsschein-php-besresr-einzahlungsscheine-mit-php/' rel='bookmark' title='Permanent Link: class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP'>class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP</a></li>
<li><a href='http://sprain.ch/blog/2010/01/24/universal-music-youtube-und-sebi/' rel='bookmark' title='Permanent Link: Universal Music, YouTube und Sebi'>Universal Music, YouTube und Sebi</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Cool! Da meine <a href="http://sprain.ch/blog/downloads/php-class-image-manipulation/">PHP-Bildbearbeitungsklasse</a> offenbar auch in Brasilien genutzt wird bin ich dortigen Wünschen gerne nachgekommen.</p>
<p>Die Klasse kann nun Bilder mit einem Wasserzeichen schmücken:<br />
<img src="http://sprain.ch/blog/wp-content/uploads/2010/07/watermark.jpg" alt="" title="watermark" width="511" height="172" class="alignnone size-full wp-image-5362" /></p>
<p>Transparenz und Position kann frei gesetzt werden. Theoretisch kann man das Wasserzeichen auch beliebig drehen und in der Grösse verändern, aber das funktioniert noch nicht ganz einwandfrei mit Wasserzeichen-Bildern, die bereits im Original eine Transparenz haben. Aber hey, du darfst gerne daran arbeiten und dies verbessern :)</p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2010/05/05/class-images-php-eine-php-klasse-zur-bildmanipulation/' rel='bookmark' title='Permanent Link: class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation'>class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation</a></li>
<li><a href='http://sprain.ch/blog/2010/05/10/class-einzahlungsschein-php-besresr-einzahlungsscheine-mit-php/' rel='bookmark' title='Permanent Link: class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP'>class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP</a></li>
<li><a href='http://sprain.ch/blog/2010/01/24/universal-music-youtube-und-sebi/' rel='bookmark' title='Permanent Link: Universal Music, YouTube und Sebi'>Universal Music, YouTube und Sebi</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/07/19/class-images-php-jezt-mit-wasserzeichen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pilotprojekt gestartet: Ticketpark macht Vorverkauf</title>
		<link>http://sprain.ch/blog/2010/07/14/pilotprojekt-gestartet-ticketpark-macht-vorverkauf/</link>
		<comments>http://sprain.ch/blog/2010/07/14/pilotprojekt-gestartet-ticketpark-macht-vorverkauf/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 12:38:10 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[Persönlich]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Pilotprojekt]]></category>
		<category><![CDATA[ticketpark]]></category>
		<category><![CDATA[vorverkauf]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=5310</guid>
		<description><![CDATA[Es erstaunt mich immer wieder selbst, welches Eigenleben meine ursprüngliche Programmierübung Ticketpark angenommen hat. Vor 10 Jahren ist die Site entstanden, seit zwei Jahren ist sie kommerziell, vor einem halben Jahr haben wir die Ticketpark GmbH gegründet und heute haben wir den nächsten grossen Meilenstein erreicht: Ticketpark wird zur Vorverkaufsplattform! Unser Ziel dabei: selbstverwaltend, einfach, [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2010/03/01/wm-2010-sudafrika-reisen-mit-ticketpark/' rel='bookmark' title='Permanent Link: WM 2010 Südafrika &#8211; Reisen mit Ticketpark'>WM 2010 Südafrika &#8211; Reisen mit Ticketpark</a></li>
<li><a href='http://sprain.ch/blog/2008/10/02/ticketpark-im-netzticker/' rel='bookmark' title='Permanent Link: Ticketpark im Netzticker'>Ticketpark im Netzticker</a></li>
<li><a href='http://sprain.ch/blog/2008/09/26/neuer-ticketpark-preview-ist-verfugbar/' rel='bookmark' title='Permanent Link: Neuer Ticketpark: Preview ist verfügbar!'>Neuer Ticketpark: Preview ist verfügbar!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-5323" title="mood_frau2tickets" src="http://sprain.ch/blog/wp-content/uploads/2010/07/mood_frau2tickets.jpg" alt="" width="161" height="134" style="float:right;"/>Es erstaunt mich immer wieder selbst, welches Eigenleben meine ursprüngliche Programmierübung <a href="http://www.ticketpark.ch/">Ticketpark</a> angenommen hat. Vor 10 Jahren ist die Site entstanden, seit zwei Jahren ist sie kommerziell, vor einem halben Jahr haben wir die Ticketpark GmbH gegründet und heute haben wir den nächsten grossen Meilenstein erreicht:</p>
<p><strong>Ticketpark wird zur Vorverkaufsplattform!</strong><br />
Unser Ziel dabei: selbstverwaltend, einfach, kostengünstig.</p>
<p>Zielpublikum sind grundsätzlich alle kleine und mittelgrosse Veranstalter. Wir haben jedoch besondere Bedürfnisse in bestimmten Segmenten entdeckt, die wir direkter ansprechen wollen. Welche Segmente dies genau sind geht an dieser Stelle aber zu weit ;-)</p>
<p>Der <a href="http://www.kammerchor-steffisburg.ch/index.php?id=26">Kammerchor Steffisburg</a> ist der erste Veranstalter, welcher ab sofort seine Tickets über unser System vertreibt. <a href="http://www.kammerchor-steffisburg.ch/index.php?id=26">Heute hat der Vorverkauf für die beiden Konzerte im September begonnen.</a></p>
<p>Besonders Freude habe ich <a href="http://sprain.ch/blog/wp-content/uploads/2010/07/Bildschirmfoto-2010-07-14-um-14.16.00.png">am Saalplaner</a>, welcher gemeinsam mit den Jungs von <a href="http://www.frappant.ch/">!frappant</a> entwickelt wurde. Sitzplatzgenau können Tickets bestellt werden &#8211; mit Liveupdate, wenn jemand anders gleichzeitig auch Plätze reserviert. Und natürlich ohne Flash. In der Zukunft soll auch die Einteilung des Saals in einem Editor vom Veranstalter selbst durchgeführt werden können.</p>
<p><strong>Momentan </strong><a href="http://www.ticketpark.ch/vorverkauf/"><strong>suchen wir noch weitere Pilotprojekte</strong></a><strong>, welche von folgenden Features profitieren möchten:</strong></p>
<ul>
<li>Sitzplatzgenauer Online-Ticketvorverkauf, einfach integrierbar in Ihre Website.</li>
<li>Bbeliebig viele Vorverkaufsstellen integrierbar &#8211; vom Bäcker bis zur Buchhandlung.</li>
<li>Ticketausdruck zu Hause beim Kunde, Versand per Post oder Abholung an der Abendkasse &#8211; ganz nach Wunsch.</li>
<li>Bezahlung der Tickets mit Kreditkarte, Rechnung oder an der Abendkasse.</li>
<li>Einfacher Geldfluss, da wir uns um das Inkasso kümmern.</li>
<li>Auswertungen und Abrechnungen stehen per Knopfdruck zur Verfügung.</li>
<li>Altbewährte Bestellmöglichkeiten per Talon oder Telefon sind weiterhin möglich.</li>
<li>Keine Grundgebühren, keine Fixkosten.</li>
</ul>
<p>Wenn du also bald eine Veranstaltung durchführen wirst und dazu eine Ticketing-Lösung benötigst, <a href="mailto:manu@sprain.ch">nimm doch unverbindlich Kontakt mit mir auf</a>. Egal ob Firmenanlass, Konzert der Guggenmusik oder Party deiner Schule. Ich bin sicher, dass wir gemeinsam ein tolles Team bilden würden!</p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2010/03/01/wm-2010-sudafrika-reisen-mit-ticketpark/' rel='bookmark' title='Permanent Link: WM 2010 Südafrika &#8211; Reisen mit Ticketpark'>WM 2010 Südafrika &#8211; Reisen mit Ticketpark</a></li>
<li><a href='http://sprain.ch/blog/2008/10/02/ticketpark-im-netzticker/' rel='bookmark' title='Permanent Link: Ticketpark im Netzticker'>Ticketpark im Netzticker</a></li>
<li><a href='http://sprain.ch/blog/2008/09/26/neuer-ticketpark-preview-ist-verfugbar/' rel='bookmark' title='Permanent Link: Neuer Ticketpark: Preview ist verfügbar!'>Neuer Ticketpark: Preview ist verfügbar!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/07/14/pilotprojekt-gestartet-ticketpark-macht-vorverkauf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: When mail() is not working and fails without error</title>
		<link>http://sprain.ch/blog/2010/07/09/php-when-mail-is-not-working-fails-without-error/</link>
		<comments>http://sprain.ch/blog/2010/07/09/php-when-mail-is-not-working-fails-without-error/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 05:52:53 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=5240</guid>
		<description><![CDATA[Is your php script not sending any mails with the mail() function and you simply don&#8217;t know why? This just saved my life: You probably have one of the two following lines in your /etc/php.ini file: sendmail_path = or sendmail_path = &#8216;/usr/sbin/sendmail -t -i&#8217; What you need to do is change the sendmail path to: [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2008/08/08/46/' rel='bookmark' title='Permanent Link: iPhone Location per E-Mail auf Tumblr'>iPhone Location per E-Mail auf Tumblr</a></li>
<li><a href='http://sprain.ch/blog/2008/03/25/apple-mail-und-pgp-verschlsseln-entschlsseln-und-signieren/' rel='bookmark' title='Permanent Link: Apple Mail und PGP &#8211; verschlüsseln, entschlüsseln und signieren'>Apple Mail und PGP &#8211; verschlüsseln, entschlüsseln und signieren</a></li>
<li><a href='http://sprain.ch/blog/2008/04/24/typo3-association-releases-version-42/' rel='bookmark' title='Permanent Link: «TYPO3 Association releases Version 4.2»'>«TYPO3 Association releases Version 4.2»</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Is your php script not sending any mails with the mail() function and you simply don&#8217;t know why?<br />
This just saved my life:</p>
<blockquote><p>You probably have one of the two following lines in your /etc/php.ini file:</p>
<p>sendmail_path =<br />
or<br />
sendmail_path = &#8216;/usr/sbin/sendmail -t -i&#8217;</p>
<p>What you need to do is change the sendmail path to:<br />
sendmail_path = &#8220;/usr/sbin/sendmail -t -i&#8221;<br />
(note the double quotes replacing the single quotes)</p>
<p>Stop and restart your Apache server so the new php.ini values are read. You should be good to go after this.
</p></blockquote>
<p><a href="http://forums.oscommerce.com/topic/163197-does-your-mail-fail-with-no-errors/">Thanks to Micheal!</a></p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2008/08/08/46/' rel='bookmark' title='Permanent Link: iPhone Location per E-Mail auf Tumblr'>iPhone Location per E-Mail auf Tumblr</a></li>
<li><a href='http://sprain.ch/blog/2008/03/25/apple-mail-und-pgp-verschlsseln-entschlsseln-und-signieren/' rel='bookmark' title='Permanent Link: Apple Mail und PGP &#8211; verschlüsseln, entschlüsseln und signieren'>Apple Mail und PGP &#8211; verschlüsseln, entschlüsseln und signieren</a></li>
<li><a href='http://sprain.ch/blog/2008/04/24/typo3-association-releases-version-42/' rel='bookmark' title='Permanent Link: «TYPO3 Association releases Version 4.2»'>«TYPO3 Association releases Version 4.2»</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/07/09/php-when-mail-is-not-working-fails-without-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSONP, JQuery and PHP: Make cross domain ajax calls work</title>
		<link>http://sprain.ch/blog/2010/07/07/jsonp-jquery-and-php-make-cross-domain-ajax-calls-work/</link>
		<comments>http://sprain.ch/blog/2010/07/07/jsonp-jquery-and-php-make-cross-domain-ajax-calls-work/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 13:23:44 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Cross-Domain]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[JSONP]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=5200</guid>
		<description><![CDATA[(This is in English as I have been searching the internet for a long while without finding the information I needed. Now when I found it myself I want to make it available to everyone.) JSON is a great and simple format often user to exchange data between Javascript and a server, e.q. with an [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2007/09/22/436/' rel='bookmark' title='Permanent Link: t3con07: increasing usability by using ajax in frontend and backend forms in typo3'>t3con07: increasing usability by using ajax in frontend and backend forms in typo3</a></li>
<li><a href='http://sprain.ch/blog/2008/10/09/fowa-colliding-worlds-using-jabber-to-make-awesome-web-sites/' rel='bookmark' title='Permanent Link: [FOWA]: Colliding Worlds: Using Jabber to make awesome web sites'>[FOWA]: Colliding Worlds: Using Jabber to make awesome web sites</a></li>
<li><a href='http://sprain.ch/blog/2010/05/13/wir-machens-gerne-spannend%e2%80%a6/' rel='bookmark' title='Permanent Link: Wir machens gerne spannend…'>Wir machens gerne spannend…</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><em>(This is in English as I have been searching the internet for a long while without finding the information I needed. Now when I found it myself I want to make it available to everyone.)</em></p>
<p><a href="http://en.wikipedia.org/wiki/JSON">JSON</a> is a great and simple format often user to exchange data between Javascript and a server, e.q. with an ajax call based on JQuery.</p>
<h2>Now there is one problem:</h2>
<p>You are not allowed to execute cross-domain ajax calls. So if you are working on serverA.com and want to get data from serverB.com you will find yourself in the midst of evil errors. This is our start situation:</p>
<p><em><strong>A file on serverA.com calling serverB.com with a JQuery-JSON-Call:</strong></em></p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://code.jquery.com/jquery-latest.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span><br />
&nbsp; &nbsp;$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp;$.<span style="color: #660066;">getJSON</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;http://serverB.com/getSomeData/file.php&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>data.<span style="color: #660066;">prettyGirl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></div>
<p><em><strong>file.php on serverB.com:</strong></em></p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; <span style="color: #666666; font-style: italic;">//Here you handle some data, whatever you need to do</span><br />
&nbsp; <span style="color: #000088;">$myReturnData</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$myReturnData</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;prettyGirl&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Carolina&quot;</span><span style="color: #339933;">;</span> <br />
&nbsp; <span style="color: #000088;">$myReturnData</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;prettyBeach&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Miami&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <br />
&nbsp; <span style="color: #666666; font-style: italic;">//JSON-encode and return</span><br />
&nbsp; <span style="color: #b1b100;">print</span> <a href="http://www.php.net/json_encode"><span style="color: #990000;">json_encode</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myReturnData</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
<p>Now, as nice as it looks &#8211; it&#8217;s not working. You&#8217;re trying to do an ajax call to a different domain which is prohibited. Bummer!</p>
<h2 style="margin-top:25px;">There is a solution… and it&#8217;s even easy!</h2>
<p><strong>Let&#8217;s add some padding on the client side</strong><br />
Lucky you, there is a solution. If you&#8217;ve found this article you have propably already heard about <a href="http://www.ibm.com/developerworks/library/wa-aj-jsonp1/">JSONP</a>. But helpful information about it is yet hard to find. So I&#8217;m going to change that right here, right now.</p>
<p>JSONP is «JSON with padding». And we&#8217;re going to add the padding now:</p>
<p>Maybe you&#8217;ve seen the example on <a href="http://api.jquery.com/jQuery.getJSON/">jquery.com for the getJSON method</a>. Simplified they do this:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://code.jquery.com/jquery-latest.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span><br />
&nbsp; &nbsp;$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">//Go get some cat pics from Flickr</span><br />
&nbsp; &nbsp; &nbsp;$.<span style="color: #660066;">getJSON</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&amp;tagmode=any&amp;format=json&amp;jsoncallback=?&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></div>
<p>You might notice two things:</p>
<ol>
<li>They actually <em>do</em> get data from a remote server &#8211; only very few of us can actually work on the servers of Flickr, right? So there must be a solution!</li>
<li>There is a funny parameter at the end of the url: <em>jsoncallback=?</em>. This is the key to happiness (at least if you&#8217;re to be satisfied with just a few lines of code, you simple fruitcake)</li>
</ol>
<p><strong>On the client side (on serverA.com) it&#8217;s really that easy:</strong> Simply add a parameter jsoncallback or callback or whatever you want to name it and add the value of a question mark to it. If you&#8217;re using JQuery, that is. JQuery will then automatically replace the question mark with a value which looks similar to <em>jsonp1278506096186:1</em>. </p>
<p>Our example on serverA.com looks like this now:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://code.jquery.com/jquery-latest.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span><br />
&nbsp; &nbsp;$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">//This is not working if you're calling from serverA.com</span><br />
&nbsp; &nbsp; &nbsp;$.<span style="color: #660066;">getJSON</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;http://serverB.com/getSomeData/file.php?jsoncallback=?&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>data.<span style="color: #660066;">prettyGirl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></div>
<p>So we&#8217;ve added the padding. Let&#8217;s go to the server side.</p>
<p><strong>Work it on the server side</strong><br />
I&#8217;m going to assume that you&#8217;re using PHP on the server side (in our example on serverB.com).<br />
Now hold on. <strong>It&#8217;s very very easy and works like that:</strong></p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; <span style="color: #666666; font-style: italic;">//Here you handle some data, whatever you need to do</span><br />
&nbsp; <span style="color: #000088;">$myReturnData</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$myReturnData</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;prettyGirl&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Carolina&quot;</span><span style="color: #339933;">;</span> <br />
&nbsp; <span style="color: #000088;">$myReturnData</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;prettyBeach&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Miami&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <br />
&nbsp; <span style="color: #666666; font-style: italic;">//JSON-encode and return</span><br />
&nbsp; <span style="color: #b1b100;">print</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'jsoncallback'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'('</span><span style="color: #339933;">.</span><a href="http://www.php.net/json_encode"><span style="color: #990000;">json_encode</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myReturnData</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">')'</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
<p>Did you notice what we did? We wrapped the json-encoded data into brackets which were prefixed with the JSON-callback name. Go on and try &#8211; it&#8217;s working now!</p>
<h2 style="margin-top:25px;">Cool! But what the heck just happened?</h2>
<p>Simply said, you prepared your file on serverB.com in a way so you actively do allow calls from remote servers. This is something which usually is not allowed for security reasons. But since you want to make it possible, you can.</p>
<p>Thanks to <a href="http://remysharp.com/2007/10/08/what-is-jsonp/">Remy</a>. His article was the one which opened my eyes, even though I was still a bit confused afterwards and therefore wrote this one :)</p>
<p><em>That&#8217;s it, dude. Hope it helps! And you&#8217;re always welcome to leave a comment :)</em></p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2007/09/22/436/' rel='bookmark' title='Permanent Link: t3con07: increasing usability by using ajax in frontend and backend forms in typo3'>t3con07: increasing usability by using ajax in frontend and backend forms in typo3</a></li>
<li><a href='http://sprain.ch/blog/2008/10/09/fowa-colliding-worlds-using-jabber-to-make-awesome-web-sites/' rel='bookmark' title='Permanent Link: [FOWA]: Colliding Worlds: Using Jabber to make awesome web sites'>[FOWA]: Colliding Worlds: Using Jabber to make awesome web sites</a></li>
<li><a href='http://sprain.ch/blog/2010/05/13/wir-machens-gerne-spannend%e2%80%a6/' rel='bookmark' title='Permanent Link: Wir machens gerne spannend…'>Wir machens gerne spannend…</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/07/07/jsonp-jquery-and-php-make-cross-domain-ajax-calls-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>«Gmail beinhaltet 443&#8217;000 Zeilen (handgeschriebenen) JavaScript Code&#8230;»</title>
		<link>http://sprain.ch/blog/2010/06/29/%c2%abgmail-beinhaltet-443000-zeilen-handgeschriebenen-javascript-code-%c2%bb/</link>
		<comments>http://sprain.ch/blog/2010/06/29/%c2%abgmail-beinhaltet-443000-zeilen-handgeschriebenen-javascript-code-%c2%bb/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 06:44:51 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Zitate]]></category>
		<category><![CDATA[code javascript]]></category>
		<category><![CDATA[gmail]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=5179</guid>
		<description><![CDATA[hab ich via @jstuker in einem Tweet erfahren. Und stimmt auch. Krass! Related posts:Whitelist in Gmail «Google bietet seinen Usern einen kostenlosen E-Mail-Service namens Gmail an. Und das Besondere an dem Service war seinerzeit die enorme Postfachgröße von einem Gigabyte Speicher. Und wer hat es geglaubt? Niemand! Und warum? Genau!» «Good code is like a [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2008/08/27/whitelist-in-gmail/' rel='bookmark' title='Permanent Link: Whitelist in Gmail'>Whitelist in Gmail</a></li>
<li><a href='http://sprain.ch/blog/2010/04/01/%c2%abgoogle-bietet-seinen-usern-einen-kostenlosen-e-mail-service-namens-gmail-an-und-das-besondere-an-dem-service-war-seinerzeit-die-enorme-postfachgrose-von-einem-gigabyte-speicher-und-wer-hat-es/' rel='bookmark' title='Permanent Link: «Google bietet seinen Usern einen kostenlosen E-Mail-Service namens Gmail an. Und das Besondere an dem Service war seinerzeit die enorme Postfachgröße von einem Gigabyte Speicher. Und wer hat es geglaubt? Niemand! Und warum? Genau!»'>«Google bietet seinen Usern einen kostenlosen E-Mail-Service namens Gmail an. Und das Besondere an dem Service war seinerzeit die enorme Postfachgröße von einem Gigabyte Speicher. Und wer hat es geglaubt? Niemand! Und warum? Genau!»</a></li>
<li><a href='http://sprain.ch/blog/2009/10/05/%c2%abgood-code-is-like-a-good-joke-if-you-have-to-explain-it-it-wasnt-good-%c2%bb/' rel='bookmark' title='Permanent Link: «Good code is like a Good Joke. If you have to explain it, it wasn&#8217;t good.»'>«Good code is like a Good Joke. If you have to explain it, it wasn&#8217;t good.»</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>hab ich via <a href="http://twitter.com/jstuker/status/17308916866">@jstuker in einem Tweet</a> erfahren. <a href="http://googlesystem.blogspot.com/2010/06/gmail-to-use-more-html5-features.html">Und stimmt auch.</a> Krass!</p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2008/08/27/whitelist-in-gmail/' rel='bookmark' title='Permanent Link: Whitelist in Gmail'>Whitelist in Gmail</a></li>
<li><a href='http://sprain.ch/blog/2010/04/01/%c2%abgoogle-bietet-seinen-usern-einen-kostenlosen-e-mail-service-namens-gmail-an-und-das-besondere-an-dem-service-war-seinerzeit-die-enorme-postfachgrose-von-einem-gigabyte-speicher-und-wer-hat-es/' rel='bookmark' title='Permanent Link: «Google bietet seinen Usern einen kostenlosen E-Mail-Service namens Gmail an. Und das Besondere an dem Service war seinerzeit die enorme Postfachgröße von einem Gigabyte Speicher. Und wer hat es geglaubt? Niemand! Und warum? Genau!»'>«Google bietet seinen Usern einen kostenlosen E-Mail-Service namens Gmail an. Und das Besondere an dem Service war seinerzeit die enorme Postfachgröße von einem Gigabyte Speicher. Und wer hat es geglaubt? Niemand! Und warum? Genau!»</a></li>
<li><a href='http://sprain.ch/blog/2009/10/05/%c2%abgood-code-is-like-a-good-joke-if-you-have-to-explain-it-it-wasnt-good-%c2%bb/' rel='bookmark' title='Permanent Link: «Good code is like a Good Joke. If you have to explain it, it wasn&#8217;t good.»'>«Good code is like a Good Joke. If you have to explain it, it wasn&#8217;t good.»</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/06/29/%c2%abgmail-beinhaltet-443000-zeilen-handgeschriebenen-javascript-code-%c2%bb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP</title>
		<link>http://sprain.ch/blog/2010/05/10/class-einzahlungsschein-php-besresr-einzahlungsscheine-mit-php/</link>
		<comments>http://sprain.ch/blog/2010/05/10/class-einzahlungsschein-php-besresr-einzahlungsscheine-mit-php/#comments</comments>
		<pubDate>Mon, 10 May 2010 08:08:36 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[besr]]></category>
		<category><![CDATA[class.Einzahlungsschein.php]]></category>
		<category><![CDATA[einzahlungsschein]]></category>
		<category><![CDATA[esr]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=4922</guid>
		<description><![CDATA[ESR oder BESR steht für Bank-Einzahlungsschein mit Referenznummer. Diese in der Schweiz gängige Zahlungsart ermöglicht es, Zahlungen per Einzahlungsschein automatisiert auszulösen und zu verbuchen. Der Trick bei der Sache liegt darin, dass die Daten auf dem Einzahlungsschein bestimmten Vorgaben entsprechen müssen. Zum Beispiel sind darauf auch Referenznummern mit Prüfziffern enthalten, welche korrekt berechnet werden müssen [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2010/05/05/class-images-php-eine-php-klasse-zur-bildmanipulation/' rel='bookmark' title='Permanent Link: class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation'>class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation</a></li>
<li><a href='http://sprain.ch/blog/2010/07/19/class-images-php-jezt-mit-wasserzeichen/' rel='bookmark' title='Permanent Link: class.Images.php: Jezt mit Wasserzeichen'>class.Images.php: Jezt mit Wasserzeichen</a></li>
<li><a href='http://sprain.ch/blog/2010/05/21/rememba-simple-listenverwaltung-fur-einkaufslisten-todo-etc/' rel='bookmark' title='Permanent Link: Rememba &#8211; Simple Listenverwaltung für Einkaufslisten, ToDo, etc.'>Rememba &#8211; Simple Listenverwaltung für Einkaufslisten, ToDo, etc.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_4811" class="wp-caption alignleft" style="width: 227px"><a href="http://sprain.ch/blog/wp-content/uploads/2010/04/ezs.png"><img class="size-full wp-image-4811   " title="BESR Einzahlungsschein erstellt mit PHP" src="http://sprain.ch/blog/wp-content/uploads/2010/04/ezs.png" alt="" width="217" height="110" /></a><p class="wp-caption-text">BESR/ESR-Einzahlungsschein: Geht auch mit PHP!</p></div>
<p><a href="http://www.bkb.ch/index/e-banking/bkb-besr.htm">ESR oder BESR</a> steht für <strong>B</strong>ank-<strong>E</strong>inzahlungs<strong>s</strong>chein mit <strong>R</strong>eferenznummer. Diese in der Schweiz gängige Zahlungsart ermöglicht es, Zahlungen per Einzahlungsschein automatisiert auszulösen und zu verbuchen.</p>
<p>Der Trick bei der Sache liegt darin, dass die Daten auf dem Einzahlungsschein bestimmten Vorgaben entsprechen müssen. Zum Beispiel sind darauf auch Referenznummern mit Prüfziffern enthalten, welche korrekt berechnet werden müssen und es sind auch gewisse Schriftarten vorgegeben.</p>
<p>Oft wird dafür teure Buchhaltungssoftware verwendet &#8211; doch es geht auch mit PHP. <strong>Ich habe<a href="http://sprain.ch/blog/downloads/class-esr-besr-einzahlungsschein-php/"> eine entsprechende PHP-Klasse zur Generierung von BESR-Einzahlungsscheinen gebaut, welche es nun zum Download gibt.</a></strong> Die damit generierten Einzahlungsscheine wurden heute von der Bank abgesegnet.</p>
<p>Achtung, du kannst jetzt nich einfach blind loslegen und solche Einzahlungsscheine verwenden. Dies muss mit der Bank abgesprochen werden. Damit du auch BESR-Einzahlungsscheine verwenden kannst, nimm mit deiner Bank Kontakt auf. Du wirst dann die entsprechenden Angaben wie deinen Kundenindentifikationsnummer und die zu verwendene Kontonummer erhalten.</p>
<p>Auch bei dieser Klasse freue ich mich natürlich über Feedback, Verbesserungen und Inputs.<br />
Viel Spass!</p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2010/05/05/class-images-php-eine-php-klasse-zur-bildmanipulation/' rel='bookmark' title='Permanent Link: class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation'>class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation</a></li>
<li><a href='http://sprain.ch/blog/2010/07/19/class-images-php-jezt-mit-wasserzeichen/' rel='bookmark' title='Permanent Link: class.Images.php: Jezt mit Wasserzeichen'>class.Images.php: Jezt mit Wasserzeichen</a></li>
<li><a href='http://sprain.ch/blog/2010/05/21/rememba-simple-listenverwaltung-fur-einkaufslisten-todo-etc/' rel='bookmark' title='Permanent Link: Rememba &#8211; Simple Listenverwaltung für Einkaufslisten, ToDo, etc.'>Rememba &#8211; Simple Listenverwaltung für Einkaufslisten, ToDo, etc.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/05/10/class-einzahlungsschein-php-besresr-einzahlungsscheine-mit-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>class.Images.php &#8211; eine PHP-Klasse zur Bildmanipulation</title>
		<link>http://sprain.ch/blog/2010/05/05/class-images-php-eine-php-klasse-zur-bildmanipulation/</link>
		<comments>http://sprain.ch/blog/2010/05/05/class-images-php-eine-php-klasse-zur-bildmanipulation/#comments</comments>
		<pubDate>Wed, 05 May 2010 12:16:12 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Bild]]></category>
		<category><![CDATA[Bildmanipulation]]></category>
		<category><![CDATA[class.Images.php]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=4892</guid>
		<description><![CDATA[Jaja, es gibt Bildmanipulations-Klassen in PHP wie Sand am Meer. Aber eine, die einfach und simpel meine Bedürfnisse abdeckt, hatte ich bisher nicht gefunden. Darum hab ich einfach selbst eine gebaut. Und weil wir im Web 2.0 ja nett sein sollen zu einander, gibts die hier nun auch zum Download. Es gibt noch viel Potential [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2010/05/10/class-einzahlungsschein-php-besresr-einzahlungsscheine-mit-php/' rel='bookmark' title='Permanent Link: class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP'>class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP</a></li>
<li><a href='http://sprain.ch/blog/2010/07/19/class-images-php-jezt-mit-wasserzeichen/' rel='bookmark' title='Permanent Link: class.Images.php: Jezt mit Wasserzeichen'>class.Images.php: Jezt mit Wasserzeichen</a></li>
<li><a href='http://sprain.ch/blog/2008/08/29/ferien/' rel='bookmark' title='Permanent Link: Ferien!'>Ferien!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_4877" class="wp-caption alignleft" style="width: 220px"><a href="http://www.flickr.com/photos/thebusybrain/2632651360/"><img class="size-medium wp-image-4877" src="http://sprain.ch/blog/wp-content/uploads/2010/05/2632651360_d4aa4ee70f-300x178.jpg" alt="" width="210" height="125" /></a><p class="wp-caption-text">Beispielhafter Hotdog</p></div>
<p>Jaja, es gibt Bildmanipulations-Klassen in PHP wie Sand am Meer. Aber eine, die einfach und simpel meine Bedürfnisse abdeckt, hatte ich bisher nicht gefunden.</p>
<p>Darum hab ich einfach selbst eine gebaut. Und weil wir im Web 2.0 ja nett sein sollen zu einander, <a href="http://sprain.ch/blog/downloads/php-class-image-manipulation/">gibts die hier nun auch zum Download.</a></p>
<p>Es gibt noch viel Potential zum Ausbau. Ich freue mich, wenn ihr mir zurückmeldet, wenn ihr etwas sinnvolles an der Klasse ergänzt oder gar korrigiert habt. Oder auch einfach, wenn sie euch gefällt. Habt Spass, seid lieb.</p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2010/05/10/class-einzahlungsschein-php-besresr-einzahlungsscheine-mit-php/' rel='bookmark' title='Permanent Link: class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP'>class.Einzahlungsschein.php &#8211; BESR/ESR-Einzahlungsscheine mit PHP</a></li>
<li><a href='http://sprain.ch/blog/2010/07/19/class-images-php-jezt-mit-wasserzeichen/' rel='bookmark' title='Permanent Link: class.Images.php: Jezt mit Wasserzeichen'>class.Images.php: Jezt mit Wasserzeichen</a></li>
<li><a href='http://sprain.ch/blog/2008/08/29/ferien/' rel='bookmark' title='Permanent Link: Ferien!'>Ferien!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/05/05/class-images-php-eine-php-klasse-zur-bildmanipulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>«Google seems to suck everybody&#8217;s free time»</title>
		<link>http://sprain.ch/blog/2010/04/26/%c2%abgoogle-seems-to-suck-everybodys-free-time%c2%bb/</link>
		<comments>http://sprain.ch/blog/2010/04/26/%c2%abgoogle-seems-to-suck-everybodys-free-time%c2%bb/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 08:35:40 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Zitate]]></category>
		<category><![CDATA[arbeit]]></category>
		<category><![CDATA[freizeit]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=4736</guid>
		<description><![CDATA[Schreibt Google-Mitarbeiter Brad Fitzpatrick und bestätigt so meine Behauptung, dass man bei einer Firma wie Google, Facebook oder Twitter nicht seine Arbeitskraft sondern sein Leben gibt. Related posts:«Every Time An Engineer Joins Google, A Startup Dies» Warum wir uns Google und Facebook ergeben sollten Google Buzz &#8211; und warum sich neue Social Network Services nicht [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2010/02/11/%c2%abevery-time-an-engineer-joins-google-a-startup-dies%c2%bb/' rel='bookmark' title='Permanent Link: «Every Time An Engineer Joins Google, A Startup Dies»'>«Every Time An Engineer Joins Google, A Startup Dies»</a></li>
<li><a href='http://sprain.ch/blog/2010/04/24/warum-wir-uns-google-und-facebook-ergeben-sollten/' rel='bookmark' title='Permanent Link: Warum wir uns Google und Facebook ergeben sollten'>Warum wir uns Google und Facebook ergeben sollten</a></li>
<li><a href='http://sprain.ch/blog/2010/02/10/google-buzz-und-warum-sich-neue-social-network-services-nicht-mehr-durchsetzen-werden/' rel='bookmark' title='Permanent Link: Google Buzz &#8211; und warum sich neue Social Network Services nicht mehr durchsetzen werden'>Google Buzz &#8211; und warum sich neue Social Network Services nicht mehr durchsetzen werden</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Schreibt Google-Mitarbeiter <a href="http://brad.livejournal.com/2409049.html">Brad Fitzpatrick</a> und bestätigt so meine Behauptung, dass man bei einer Firma wie Google, Facebook oder Twitter nicht seine Arbeitskraft sondern sein Leben gibt.</p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2010/02/11/%c2%abevery-time-an-engineer-joins-google-a-startup-dies%c2%bb/' rel='bookmark' title='Permanent Link: «Every Time An Engineer Joins Google, A Startup Dies»'>«Every Time An Engineer Joins Google, A Startup Dies»</a></li>
<li><a href='http://sprain.ch/blog/2010/04/24/warum-wir-uns-google-und-facebook-ergeben-sollten/' rel='bookmark' title='Permanent Link: Warum wir uns Google und Facebook ergeben sollten'>Warum wir uns Google und Facebook ergeben sollten</a></li>
<li><a href='http://sprain.ch/blog/2010/02/10/google-buzz-und-warum-sich-neue-social-network-services-nicht-mehr-durchsetzen-werden/' rel='bookmark' title='Permanent Link: Google Buzz &#8211; und warum sich neue Social Network Services nicht mehr durchsetzen werden'>Google Buzz &#8211; und warum sich neue Social Network Services nicht mehr durchsetzen werden</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/04/26/%c2%abgoogle-seems-to-suck-everybodys-free-time%c2%bb/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>«Apple Safari Internet-Browser unter deinem Betriebssystem werden derzeit von Nokia Music nicht unterstützt.»</title>
		<link>http://sprain.ch/blog/2010/04/14/%c2%abapple-safari-internet-browser-unter-deinem-betriebssystem-werden-derzeit-von-nokia-music-nicht-unterstutzt-%c2%bb/</link>
		<comments>http://sprain.ch/blog/2010/04/14/%c2%abapple-safari-internet-browser-unter-deinem-betriebssystem-werden-derzeit-von-nokia-music-nicht-unterstutzt-%c2%bb/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 14:02:01 +0000</pubDate>
		<dc:creator>sprain</dc:creator>
				<category><![CDATA[Developement]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Zitate]]></category>
		<category><![CDATA[aussperren]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[nokia]]></category>

		<guid isPermaLink="false">http://sprain.ch/blog/?p=4703</guid>
		<description><![CDATA[Sage noch einer, man dürfe den IE6 nicht einfach aussperren. Da kommt Nokia und sperrt gleich fast alle aus. Man ist aber grosszügig und meldet: «Unterstützte Betriebssysteme sind derzeit Microsoft Windows XP (SP2) oder Vista. Unterstützte Internet-Browser sind derzeit Microsoft Internet Explorer 6 und höher.» Ach ja, auf obigen Link bin ich über eine Werbung [...]


Related posts:<ol><li><a href='http://sprain.ch/blog/2010/03/17/%c2%ab%c2%abhelft-uns-die-leute-vom-internet-explorer-6-wegzubekommen%c2%bb/' rel='bookmark' title='Permanent Link: «Helft uns, die Leute vom Internet Explorer 6 wegzubekommen»'>«Helft uns, die Leute vom Internet Explorer 6 wegzubekommen»</a></li>
<li><a href='http://sprain.ch/blog/2010/03/15/es-ist-zeit-internet-explorer-6-einfach-aussperren/' rel='bookmark' title='Permanent Link: Es ist Zeit: Internet Explorer 6 einfach aussperren'>Es ist Zeit: Internet Explorer 6 einfach aussperren</a></li>
<li><a href='http://sprain.ch/blog/2008/02/01/microsoft-proposes-acquisition-of-yahoo-for-31-per-share/' rel='bookmark' title='Permanent Link: «Microsoft Proposes Acquisition of Yahoo! for $31 per Share»'>«Microsoft Proposes Acquisition of Yahoo! for $31 per Share»</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sage noch einer, <a href="http://sprain.ch/blog/2010/03/15/es-ist-zeit-internet-explorer-6-einfach-aussperren/">man dürfe den IE6 nicht einfach aussperren.</a> Da kommt <a href="http://music.nokia.ch">Nokia</a> und sperrt gleich fast alle aus. Man ist aber grosszügig und meldet: «Unterstützte Betriebssysteme sind derzeit Microsoft Windows XP (SP2) oder Vista. Unterstützte Internet-Browser sind derzeit Microsoft Internet Explorer 6 und höher.» Ach ja, auf obigen Link bin ich über eine Werbung auf Facebook gelangt. Wieviele Dollars setzt Nokia da wohl für sinnlose Klicks in den Sand? «Wenn das Problem weiterhin besteht, dann klicke hier und kontaktiere unseren Kundenservice», steht auch noch. Soll ich mal? :)</p>


<p>Related posts:<ol><li><a href='http://sprain.ch/blog/2010/03/17/%c2%ab%c2%abhelft-uns-die-leute-vom-internet-explorer-6-wegzubekommen%c2%bb/' rel='bookmark' title='Permanent Link: «Helft uns, die Leute vom Internet Explorer 6 wegzubekommen»'>«Helft uns, die Leute vom Internet Explorer 6 wegzubekommen»</a></li>
<li><a href='http://sprain.ch/blog/2010/03/15/es-ist-zeit-internet-explorer-6-einfach-aussperren/' rel='bookmark' title='Permanent Link: Es ist Zeit: Internet Explorer 6 einfach aussperren'>Es ist Zeit: Internet Explorer 6 einfach aussperren</a></li>
<li><a href='http://sprain.ch/blog/2008/02/01/microsoft-proposes-acquisition-of-yahoo-for-31-per-share/' rel='bookmark' title='Permanent Link: «Microsoft Proposes Acquisition of Yahoo! for $31 per Share»'>«Microsoft Proposes Acquisition of Yahoo! for $31 per Share»</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sprain.ch/blog/2010/04/14/%c2%abapple-safari-internet-browser-unter-deinem-betriebssystem-werden-derzeit-von-nokia-music-nicht-unterstutzt-%c2%bb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
