<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<docs>http://blogs.law.harvard.edu/tech/</docs>
		<description>RSS-Feed from https://potassium.1338.at/</description>
		<link>https://potassium.1338.at/</link>
		<title>Potassiums Weblog - One step ahead of the average nerd - Kategorie: Programmieren</title>
		<ttl>30</ttl>
		
<item>
	<title><![CDATA[Regular expressions are very usefull]]></title>
	<description><![CDATA[to generate problems <img alt=';-)' src='https://potassium.1338.at/upload/smilies/wink.gif' title=';-)' class='blogged_image' border='0' /><br />
<br />
<a href="http://xkcd.com/1171/" target='_blank'><img alt='Picture' src='https://potassium.1338.at/upload/pictures/perl_reg_exp_problems_17.02.2013.jpg' border='0' class='blogged_image' /></a><br />
<br />
Image title says: <fieldset class="quotediv"><legend>Zitat</legend>To generate #1 albums, 'jay --help' recommends the -z flag.</fieldset><br />
<br />
Wers nicht versteht: <a href="http://www.explainxkcd.com/wiki/index.php?title=1171" target='_blank'>explainxkcd.com</a><br />
<br />
Aber auch <a href="http://www.explainxkcd.com/wiki/index.php?title=1174" target='_blank'>XKCD/App</a> und <a href="http://www.explainxkcd.com/wiki/index.php?title=1172" target='_blank'>XKCD/Workflow</a> sind sehr empfehlenswert <img alt=':D' src='https://potassium.1338.at/upload/smilies/biggrin.gif' title=':D' class='blogged_image' border='0' />]]></description>
	<guid>https://potassium.1338.at/index.php?id=1321#</guid>
	<link>https://potassium.1338.at/index.php?id=1321</link>
	<pubDate>Sun, 17 Feb 2013 18:34:00 +0100</pubDate>
	<author>potassium</author>
	<category><![CDATA[lost and found @ WWW, g33k-Humor, Software-Entwicklung, Programmieren]]></category>
</item>
<item>
	<title><![CDATA[5 Prüfungen erledigt]]></title>
	<description><![CDATA[Nachdem die Nachweihnachtszeit bis jetzt sehr stressig war und ich bis dato 5 Prüfungen abgelegt habe (davon 4 mit <em>sehr gut</em>, eine Note ist noch aus ständig), beginnt nun die vorlesungsfreie Zeit. Nicht, dass das irgendeinen Unterschied machen würde mittlerweile. Die Diplomarbeit macht sehr langsam Fortschritte, jedoch nicht einmal annähernd in dem Maße wie ich es mir wünschen würde.<br />
Leider muss ebendiese nun ein wenig ruhen, da ich wieder einmal bei meinem Lieblingsverein in der IT & EDV aushelfe und dort wartet derzeit einiges auf mich.<br />
Diese Woche wartet noch eine Prüfung und dann Ende Februar gleich nochmal eine. Dann ist's mit den Master-Prüfungen aber beinahe vorbei.<br />
Immerhin gibt's nächste Woche Spaß und Erholung mit Skifahren, darauf freu ich mich jetzt schon echt!<br />
]]></description>
	<guid>https://potassium.1338.at/index.php?id=1317#</guid>
	<link>https://potassium.1338.at/index.php?id=1317</link>
	<pubDate>Mon, 04 Feb 2013 23:43:00 +0100</pubDate>
	<author>potassium</author>
	<category><![CDATA[Uni, Technische Chemie, Programmieren, Diplomarbeit]]></category>
</item>
<item>
	<title><![CDATA[Synchronize Android Calendar without Google Calendar with iCal-Files using SabreDav a CalDav server [update]]]></title>
	<description><![CDATA[I was searching for solutions for using my existing iCal-calendars from Lightning/Sunbird with my new HTC Desire WITHOUT using the Google-calender (respectively without sending them your private data).<br />
<br />
To create the calendars on the Adroid I couldn't find any other way then, just to create them at your Google-Account, sync them and afterwards disable the calendar-syncing at your Android-Phone.<br />
<br />
Now you have to install yourself a CalDav-Server. The simplest server I found, for configuring and installing was <a href="http://code.google.com/p/sabredav/" target='_blank'>SabreDav</a>. Just get a <a href="http://www.apachefriends.org/en/xampp.html" target='_blank'>XAMPP</a> running on your machine and installing SabreDav. <br />
<br />
Since there is no out-of-the-box possibility to import your iCal-files in the new CalDav server I wrote myself a little script, that does that for me. I know the code is messy and very imperformant, but it works and that is all it counts for me, at the moment.<br />
<br />
<fieldset><legend>Code</legend><br />
<?php<br />
/* iCal-import script for SabreDav CalDav Server<br />
 * Coder: Daniel Bomze - daniel.bomze {att} gmx {dottt} net<br />
 * Last changes: 04.01.2011<br />
 * Please let me know if you find bugs, failures or just have code-improvements<br />
 */<br />
<br />
//the user in which the calendars should be created, the have to exists and start with 'pricipals/'<br />
$principalUser = "principals/admin";<br />
<br />
// settings<br />
date_default_timezone_set('Europe/Berlin');<br />
<br />
// If you want to run the SabreDAV server in a custom location (using mod_rewrite for instance)<br />
// You can override the baseUri here.<br />
// $baseUri = '/';<br />
<br />
/* Database */<br />
$pdo = new PDO('sqlite:data/db.sqlite');<br />
$pdo->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);<br />
<br />
//Mapping PHP errors to exceptions<br />
function exception_error_handler($errno, $errstr, $errfile, $errline ) {<br />
    throw new ErrorException($errstr, 0, $errno, $errfile, $errline);<br />
}<br />
set_error_handler("exception_error_handler");<br />
<br />
// Files we need<br />
require_once 'lib/Sabre/autoload.php';<br />
<br />
// The object tree needs in turn to be passed to the server class<br />
$server = new Sabre_CalDAV_Server($pdo);<br />
<br />
if (isset($baseUri))<br />
    $server->setBaseUri($baseUri);<br />
<br />
$backend = new Sabre_CalDAV_Backend_PDO($pdo);<br />
$calendars = $backend->getCalendarsForUser($principalUser);<br />
foreach($calendars as $calendar){<br />
	$calendars[$calendar["uri"]] = $calendar;<br />
}<br />
$dir_handle = opendir(".");<br />
$calendar_options = array("VEVENT","VTODO", "{DAV:}description" => "");<br />
$prepend_data = "BEGIN:VCALENDAR<br />
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN<br />
VERSION:2.0<br />
";<br />
$append_data = "<br />
END:VCALENDAR<br />
";<br />
while($file = readdir($dir_handle)){<br />
	if(strrchr($file, ".") == ".ics"){<br />
		$calendar_uri = substr($file, 0, strrpos($file, "."));<br />
		$calendar_options["{DAV:}displayname"] = $calendar_uri;<br />
		if(!array_key_exists($calendar_uri, $calendars)){<br />
			$calendar_id = $backend->createCalendar($principalUser, $calendar_uri, $calendar_options);<br />
		}<br />
		else{<br />
			$calendar_id = $calendars[$calendar_uri]["id"];<br />
		}<br />
		$ics_file = file_get_contents($file);<br />
<br />
		$count_matches = preg_match_all("/(BEGIN\:VEVENT)+?(.*?)(END\:VEVENT)+?/is",$ics_file, $matches,PREG_SET_ORDER );<br />
		foreach($matches as $match){<br />
			$UID = trim(preg_replace("/(.*?)\sUID:(.*?)\n(.*)/ims", "$2", $match[0])).".ics";<br />
			$date = preg_replace("/(.*?)\sLAST-MODIFIED:(.*?)\s(.*)/ims", "$2", $match[0]);<br />
			$unixtimestamp = mktime(substr($date,9,2), substr($date,11,2), substr($date,13,2), substr($date,4,2), substr($date,6,2), substr($date,0,4));<br />
			$calendar_obj = $backend->getCalendarObject($calendar_id, $UID);<br />
			if($calendar_obj === FALSE){<br />
				$backend->createCalendarObject($calendar_id, $UID, $prepend_data.$match[0].$append_data);<br />
			}<br />
			else{<br />
				if($calendar_obj["lastmodified"] <= $unixtimestamp){<br />
					$backend->updateCalendarObject($calendar_id, $UID, $prepend_data.$match[0].$append_data);<br />
				}<br />
				else{<br />
					//entry in online-calender is newer than the one in ics-file, so do not update it<br />
				}<br />
			}<br />
			<br />
		}<br />
	}<br />
}<br />
echo "all files were imported";<br />
?><br />
<br />
<br />
</fieldset><br />
<br />
Just put this code in a file in the directory where your SabreDav-Server is located and put the .ics files in the same directory.<br />
<br />
<strong>You eventually need to increase the max_execution_time in the php.ini file</strong><br />
A value of 600 worked fine for me.<br />
<br />
If your iCal-files were imported to your CalDav serer you can synchronize the your Android phone with the server. To synchronize your Android calendar with your new CalDav-Server you will have to install this tiny app: <a href="http://de.androlib.com/android.application.com-hypermatix-app-calendarsync-txxF.aspx" target='_blank'>Calendar (CalDAV) Sync</a><br />
<br />
When configuring the app on your phone your URL to the calendar could look like this<br />
<br />
<fieldset><legend>Code</legend>http://192.168.0.1/dav/calendarserver.php/calendars/admin/Privat/</fieldset><br />
<br />
Also you can access the CalDav server via Lightning/Sunbird via:<br />
New calendar->On the network->select CalDav and enter the URL to your calender. Don't forget the trailing slash! For me the URL looked for example like this<br />
<fieldset><legend>Code</legend>http://192.168.0.1/dav/calendarserver.php/calendars/admin/Privat/</fieldset><br />
<br />
<strong>Explaination:</strong> <br />
<em>192.168.0.1</em> is the IP of the computer where der xampp is runing, <br />
<em>dav</em> is the directory where I installed my SabreDav server, <br />
<em>calendarserver.php</em> is the SabreDav calendar-server file. <br />
<em>calendars</em>, the virtual directory calandars is for accessing (who got it? ;-)) the calendars, <br />
<em>admin</em> is the principal/user and <br />
<em>Privat</em> is the name of the calandar as i created it. <br />
<em>Be sure to have the trailing slash at the end of the URL or this won't work properly.</em><br />
<br />
Tip: If you wan't to synchronize your phone from outside the LAN you have to use a <a href="http://de.wikipedia.org/wiki/Virtual_Private_Network" target='_blank'>VPN</a> or a public webserver.<br />
<br />
If you have questions feel free to contact me via comments, email or jabber.<br />
<br />
<strong>Update</strong>:<br />
Added the trim() function to the UID-detection, because if synchronizing without them, apache sometimes can't find the ics-files.<br />
]]></description>
	<guid>https://potassium.1338.at/index.php?id=1102#vPyX3u</guid>
	<link>https://potassium.1338.at/index.php?id=1102</link>
	<pubDate>Tue, 04 Jan 2011 14:36:00 +0100</pubDate>
	<author>potassium</author>
	<category><![CDATA[Programmieren, PHP-Entwicklung, HTC Desire, Android]]></category>
</item>
<item>
	<title><![CDATA[Apache CGI Version local Non Thread Safe Version VC6]]></title>
	<description><![CDATA[Just to remember the next time...]]></description>
	<guid>https://potassium.1338.at/index.php?id=1051#</guid>
	<link>https://potassium.1338.at/index.php?id=1051</link>
	<pubDate>Wed, 29 Sep 2010 21:09:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[Programmieren, PHP-Entwicklung]]></category>
</item>
<item>
	<title><![CDATA[Manchmal geht es nur so ...]]></title>
	<description><![CDATA[<a href="https://potassium.1338.at/upload/pictures/voice_control_17.09.2010_big.jpg"><img alt='Picture' src='https://potassium.1338.at/upload/pictures/voice_control_17.09.2010_small.jpg' border='0' class='blogged_image' /></a><br />
Woher kenn ich das nur? <img alt=':D' src='https://potassium.1338.at/upload/smilies/biggrin.gif' title=':D' class='blogged_image' border='0' /><br />
<br />
<a href="http://geekandpoke.typepad.com/geekandpoke/2010/09/voice-control.html" target='_blank'>Quelle/Autor</a>]]></description>
	<guid>https://potassium.1338.at/index.php?id=1043#</guid>
	<link>https://potassium.1338.at/index.php?id=1043</link>
	<pubDate>Fri, 17 Sep 2010 09:40:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[lost and found @ WWW, g33k-Humor, Programmieren]]></category>
</item>
<item>
	<title><![CDATA[PHP: empty("0") != empty("00")]]></title>
	<description><![CDATA[Die PHP-Funktion <a href="http://at.php.net/manual/en/function.empty.php" target='_blank'>empty()</a> gibt Auskunft darüber, ob die angegebe Variable <em>leer</em> ist. Folgendes weiß das Manual dazu zu sagen<br />
<fieldset class="quotediv"><legend>Zitat</legend>Returns FALSE if var has a non-empty and non-zero value. <br />
<br />
The following things are considered to be empty: <br />
"" (an empty string)<br />
0 (0 as an integer)<br />
"0" (0 as a string)<br />
NULL<br />
FALSE<br />
array() (an empty array)<br />
var $var; (a variable declared, but without a value in a class)</fieldset><br />
<br />
Man sollte nun doch meinen, dass folgende beide Code-Snippets das gleiche Ergebnise erzeugen: nämlich <em>true</em>.<br />
<fieldset><legend>Code</legend><br />
<?php<br />
$var = "0";<br />
var_dump(empty($var));<br />
?><br />
</fieldset><br />
<fieldset><legend>Code</legend><br />
<?php<br />
$var = "00";<br />
var_dump(empty($var));<br />
?><br />
</fieldset><br />
Dem ist aber nicht so.<br />
Das erste snippet gibt folgendes wiede<br />
<fieldset class="quotediv"><legend>Zitat</legend>bool(true)</fieldset><br />
das zweite Snippet<br />
<fieldset class="quotediv"><legend>Zitat</legend>bool(false)</fieldset><br />
<br />
Um darauf zu kommen, habe ich gerade zwei Stunden meines Lebens verschwendet...Dankeschön!<br />
]]></description>
	<guid>https://potassium.1338.at/index.php?id=1033#</guid>
	<link>https://potassium.1338.at/index.php?id=1033</link>
	<pubDate>Thu, 19 Aug 2010 22:06:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[Programmieren, PHP-Entwicklung]]></category>
</item>
<item>
	<title><![CDATA[Java 4-Ever Trailer]]></title>
	<description><![CDATA[Wie manche wissen, bin ich kein großer Java-Fan, aber dieses Video is genial :D<br />
<div class="small center"><object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/&rel=1'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/A1zySeNpW20&feature=player_embedded&has_verified=1&rel=1' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object><br /><a target="_blank" href="http://www.youtube.com/watch?v=A1zySeNpW20&feature=player_embedded&has_verified=1">Direktlink zu Youtube</a></div><br />
<br />
<img alt='Picture' src='https://potassium.1338.at/upload/smilies/rofl.gif' border='0' class='blogged_image' /><img alt='Picture' src='https://potassium.1338.at/upload/smilies/rofl.gif' border='0' class='blogged_image' /><img alt='Picture' src='https://potassium.1338.at/upload/smilies/rofl.gif' border='0' class='blogged_image' /><br />
<br />
Via eli]]></description>
	<guid>https://potassium.1338.at/index.php?id=1004#</guid>
	<link>https://potassium.1338.at/index.php?id=1004</link>
	<pubDate>Thu, 01 Jul 2010 23:09:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[g33k-Humor, youtube, video.google.com, etc..., Programmieren]]></category>
</item>
<item>
	<title><![CDATA[Oh du schöne, oh du seelige...]]></title>
	<description><![CDATA[...Syntax von PHP.<br />
Im Vergleich zu Visual Basic ist die Syntax von PHP einfach nur traumhaft.<br />
Ich speib mich gleich an bei der von VB.]]></description>
	<guid>https://potassium.1338.at/index.php?id=901#</guid>
	<link>https://potassium.1338.at/index.php?id=901</link>
	<pubDate>Wed, 18 Nov 2009 01:18:00 +0100</pubDate>
	<author>potassium</author>
	<category><![CDATA[Programmieren]]></category>
</item>
<item>
	<title><![CDATA[Fix: serialize() und unserialize() fail with data containing single or double quotes [update]]]></title>
	<description><![CDATA[When serialize()ing an array containing the data of the last created blogpost there was no error at first.<br />
But if the data were fetched from the database and the script tried to unserialize() them the following error occured:<br />
<fieldset class="quotediv"><legend>Zitat</legend>Notice: unserialize() [function.unserialize]: Error at offset 51 of 66 bytes in somefile.php</fieldset><br />
So why is this?<br />
Lets say you have an array with 3 indizes containing 2 strings and one integer.<br />
<br />
<fieldset><legend>Code</legend>$somearray[0] = "test";<br />
$somearray[1] = "he hasn\'t eaten anything";<br />
$somearray[2] = 36;</fieldset><br />
As you can see the single quote in the second array-element is escaped by a backslash.<br />
If you now serialize the data you get the following string<br />
<fieldset><legend>Code</legend>a:3:{i:0;s:4:"test";i:1;s:25:"<font color="red">he hasn\'t eaten anything</font>";i:2;i:36;}<br />
</fieldset><br />
If this string is now written to the database the backslashes disappears and the field contains the following data:<br />
<fieldset><legend>Code</legend>a:3:{i:0;s:4:"test";i:1;s:25:"<font color="red">he hasn't eaten anything</font>";i:2;i:36;}<br />
</fieldset><br />
As the considerate reader might have discovered the length of the highlighted string was first 25 characters and is after inserting into the database 24 characters long. <br />
So if PHP tries to unserialize the string it thinks it has to read 25 characters but there are only 24. This throws the above error.<br />
<br />
So how can you circumvent this?<br />
<fieldset><legend>Code</legend>$somearray[0] = "test";<br />
$somearray[1] = "he hasn\'t eaten anything";<br />
$somearray[2] = 36;<br />
foreach($somearray as $key=>$value){<br />
$somearray[$key] = stripslashes($value);<br />
}<br />
$serialized_data = addslashes(serialize($somearray));</fieldset><br />
<br />
So the backslashes are removed before serializing the data and added afterwards to prevent database malfunctions or errors.]]></description>
	<guid>https://potassium.1338.at/index.php?id=862#</guid>
	<link>https://potassium.1338.at/index.php?id=862</link>
	<pubDate>Thu, 27 Aug 2009 22:33:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[Software-Entwicklung, Programmieren, PHP-Entwicklung]]></category>
</item>
<item>
	<title><![CDATA[SQL: Doppelte Datensätze einfach löschen [update]]]></title>
	<description><![CDATA[Nachdem Michelle mich darauf aufmerksam gemacht hat, dass im Seitenmenü die doppelte Anzahl an Seiten zB bei den Kategorien angezeigt werden als eigentlich vorhanden sein sollten hab ich mich auf Fehlersuche gemacht.<br />
Nachdem ich ein fehlendes <em>DISTINCT</em> zuerst für den Verantwortlichen gehalten habe bin ich nach einiger Zeit draufgekommen, dass beim Portieren der Software der Inhalt 2 mal eingefügt wurde.<br />
Ich hatte also eine 2spaltige Tabelle mit mehreren Tausend Einträgen und diese waren je 2 mal vorhanden. Was also tun? Manuell kann man das vergessen. Mit normalen Abfragen is mir auch nix eingefallen und siehe da das Glasgoogle hat geholfen und folgendes zu Tage gebracht:<br />
<a href="http://www.issociate.de/board/post/255929/Doppelte_Einträge_löschen.html" target='_blank'>Doppelte Einträge löschen</a> (ganz unten)<br />
<br />
<fieldset><legend>Code</legend>ALTER <font color="red">IGNORE</font> TABLE <em>Table</em> ADD UNIQUE INDEX temp_index (<em>Column1</em> , <em>Column2</em>);</fieldset><br />
Es wird ein UNIQUE Index auf die gewähljten Felder gelegt und da er UNIQUE ist, sind keine doppelten Einträge erlaubt.<br />
Ignore ist dabei das Stichwort: Dadurch werden doppelte Einträge einfach gelöscht. Sache gelöst. Juhu :D<br />
<br />
]]></description>
	<guid>https://potassium.1338.at/index.php?id=861#</guid>
	<link>https://potassium.1338.at/index.php?id=861</link>
	<pubDate>Thu, 27 Aug 2009 22:17:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[Software-Entwicklung, Programmieren, SQL]]></category>
</item>
<item>
	<title><![CDATA[DOM]]></title>
	<description><![CDATA[Mhm, hab grad meine ersten (bewussten) <a href="http://de.wikipedia.org/wiki/Document_Object_Model" target='_blank'>DOM</a>-Schritte gemacht. Schon ziemlich mächtig das Zeug. Trotzdem is Javascript ned wirklich meine Sprache...Naja das was ich wollte geht ja mal. Bald zu sehen in PotaBlog 2.0 :)]]></description>
	<guid>https://potassium.1338.at/index.php?id=815#</guid>
	<link>https://potassium.1338.at/index.php?id=815</link>
	<pubDate>Fri, 26 Jun 2009 23:52:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[Programmieren]]></category>
</item>
<item>
	<title><![CDATA[Episch: LANBall]]></title>
	<description><![CDATA[<a href="http://www.top-fünf.de/lanball/" target='_blank'>LANBall</a> ist eine Möglichkeit, wie sogar ich mal einen Ball dorthin manövrieren könnte wo er hin soll :D<br />
<br />
<div class="small center"><object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/&rel=1'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/3yLsx96V-zA&&rel=1' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object><br /><a target="_blank" href="http://www.youtube.com/watch?v=3yLsx96V-zA&">Direktlink zu Youtube</a></div><br />
<br />
<fieldset class="quotediv"><legend>Zitat</legend>Die genialste Idee aller Zeiten: Der Lagesensor im Ball stammt aus einem Nintendo-Wii-Controller, der rückmeldet, in welcher Lage sich der Ball befindet, einschließlich Drehung. Daran haben wir uns die Zähne am übelsten ausgebissen. Wir haben uns alles mögliche überlegt: Ein Laser-Gyroskop wie im BigDog von Boston Dynamics, den Lagesensor aus dem iPhone .... und so weiter. .War aber alles zu komplex, zu teuer oder zu schwer. Der Wii-Sensor kann die Lage sehr schnell und exakt bestimmen und wiegt fast nichts - also gekauft!</fieldset><br />
<br />
<fieldset class="quotediv"><legend>Zitat</legend>Die finale Innenkonstruktion mit Carbontank und den ersten Druckluftleitungen. Die Druckluft wird durch lauter Mini-Pneumatik-Equipment von Festo und SMC an- und abgeschaltet. Die Signalübertragung funktioniert via simplem W-LAN, wobei wir für das Senden der Telemetrie und das Empfangen der Steuerdaten vom Rechner je einen eigenen Kanal benutzen.</fieldset><br />
<br />
Mehr Infos zu diesem echt genialen System gibts <a href="http://www.top-fünf.de/lanball/" target='_blank'>hier</a><br />
<br />
Sogar ein <a href="http://www.top-fünf.de/lanball/LANball_SignalFlow.pdf" target='_blank'>Flowchart</a> gibts dazu.]]></description>
	<guid>https://potassium.1338.at/index.php?id=805#</guid>
	<link>https://potassium.1338.at/index.php?id=805</link>
	<pubDate>Tue, 02 Jun 2009 16:17:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[lost and found @ WWW, g33k-Humor, youtube, video.google.com, etc..., Humor, Netzwerke, Kunst, Programmieren, Sport]]></category>
</item>
<item>
	<title><![CDATA[PotaBlog 2.0 [update]]]></title>
	<description><![CDATA[Bwah, derzeit arbeite ich grad am Release 2.0 von PotaBlog. Da sich einige Dinge grundlegend verändern, ist es ein weitaus größerer Aufwand, als erwartet.<br />
<br />
Bin gerade 3 Stunden gesessen und hab nur Texte aus Templates in Variablen kopiert und diese Texte ins Englische übersetzt -_-<br />
<br />
Wünsche eine gute Nacht!]]></description>
	<guid>https://potassium.1338.at/index.php?id=772#</guid>
	<link>https://potassium.1338.at/index.php?id=772</link>
	<pubDate>Fri, 03 Apr 2009 03:55:00 +0200</pubDate>
	<author>potassium</author>
	<category><![CDATA[Software-Entwicklung, Weblog, Programmieren, PHP-Entwicklung]]></category>
</item>
<item>
	<title><![CDATA[Firefox mega Fail bei setcookie]]></title>
	<description><![CDATA[Wenn man mittels setcookie() mit PHP ein Cookie auf einem Apache-Server unter Windows für Firefox oder IE 7 senden will, der auf localhost läuft, so ist folgende Syntax von nöten:<br />
<fieldset><legend>Code</legend><br />
setcookie("test", "test", time() + 3600, "/", false);<br />
</fieldset><br />
Folgendes weiß dazu das manual<br />
<fieldset class="quotediv"><legend>Zitat</legend>bool setcookie ( string $name [, string $value [, int $expire [, string $path [, string $domain [, bool $secure [, bool $httponly]]]]]] )<br />
</fieldset><br />
<br />
Somit muss man den Wert <em>Domain</em> anstatt wie es sich gehört auf <em>localhost</em> auf <em>false</em> setzen. <br />
Das hat mich wieder nerven gekostet....]]></description>
	<guid>https://potassium.1338.at/index.php?id=769#</guid>
	<link>https://potassium.1338.at/index.php?id=769</link>
	<pubDate>Wed, 25 Mar 2009 16:53:00 +0100</pubDate>
	<author>potassium</author>
	<category><![CDATA[Weblog, was mich ärgert..., Programmieren]]></category>
</item>
<item>
	<title><![CDATA[SOAP]]></title>
	<description><![CDATA[Ich möchte hiermier anmerken, dass ich SOAP hasse und kryptische Fehlermeldungen noch mehr. GRMLZ<br />
]]></description>
	<guid>https://potassium.1338.at/index.php?id=758#</guid>
	<link>https://potassium.1338.at/index.php?id=758</link>
	<pubDate>Wed, 25 Feb 2009 17:53:00 +0100</pubDate>
	<author>potassium</author>
	<category><![CDATA[Programmieren]]></category>
</item>

	</channel>
</rss>
