<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Marco Gabriel - PHP</title>
    <link>http://www.marcogabriel.com/blog/</link>
    <description>Linux and Life</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 2.0.1 - http://www.s9y.org/</generator>
    
    <image>
    <url>http://www.marcogabriel.com/blog/templates/default/img/s9y_banner_small.png</url>
    <title>RSS: Marco Gabriel - PHP - Linux and Life</title>
    <link>http://www.marcogabriel.com/blog/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>Einfache Logger unter PHP</title>
    <link>http://www.marcogabriel.com/blog/archives/604-Einfache-Logger-unter-PHP.html</link>
            <category>PHP</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/604-Einfache-Logger-unter-PHP.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=604</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=604</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Es gibt für PHP ja so einige Möglichkeiten, Logs zu erzeugen. Apache &lt;a href=&quot;http://logging.apache.org/log4php/&quot;&gt;Log4PHP&lt;/a&gt; dürfte die bekannteste sein, aber ich suchte etwas ganz einfaches und habe &lt;a href=&quot;http://codefury.net/2008/07/klogger-a-simple-logging-class-for-php/&quot;&gt;KLogger&lt;/a&gt; gefunden.&lt;/p&gt; 
&lt;p&gt;Einfaches Beispiel:&lt;/p&gt; 
&lt;blockquote&gt;
&lt;p&gt;$log = new KLogger(&#039;/var/log/&#039;); # Specify the log directory
&lt;br /&gt;$log-&amp;gt;logInfo(&#039;Returned a million search results&#039;); //Prints to the log file
&lt;br /&gt;$log-&amp;gt;logFatal(&#039;Oh dear.&#039;); //Prints to the log file
&lt;br /&gt;$log-&amp;gt;logInfo(&#039;Here is an object&#039;, $obj); //Prints to the log file with a dump of the object&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Ideal für meinen Einsatzzweck und in wenigen Minuten implementiert. 
    </content:encoded>

    <pubDate>Thu, 24 Jan 2013 01:11:36 +0100</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/604-guid.html</guid>
    <category>log</category>
<category>php</category>

</item>
<item>
    <title>Merke: MySQL REPLACE und mysql_affected_rows()</title>
    <link>http://www.marcogabriel.com/blog/archives/560-Merke-MySQL-REPLACE-und-mysql_affected_rows.html</link>
            <category>PHP</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/560-Merke-MySQL-REPLACE-und-mysql_affected_rows.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=560</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=560</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    Merke: Nach einem erfolgreichen &amp;quot;REPLACE INTO&amp;quot; meldet mysql_affected_rows() nicht 1 sondern 2 zurück. 
    </content:encoded>

    <pubDate>Thu, 19 Nov 2009 11:18:01 +0100</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/560-guid.html</guid>
    <category>mysql</category>
<category>mysql_affected_rows</category>
<category>php</category>
<category>replace into</category>

</item>
<item>
    <title>Trackback Spam Gegenmaßnahmen</title>
    <link>http://www.marcogabriel.com/blog/archives/406-Trackback-Spam-Gegenmassnahmen.html</link>
            <category>PHP</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/406-Trackback-Spam-Gegenmassnahmen.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=406</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=406</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Da der &lt;a href=&quot;http://www.marcogabriel.com/blog/archives/405-Trackback-Spam.html&quot;&gt;Spammer&lt;/a&gt; es noch immer nicht aufgegeben hat und munter weiterspammt, habe ich zu Gegenmaßnahmen gegriffen. Alleine in den letzten 15 Stunden waren es über 120.000 Versuche, einen Kommentar im Blog zu hinterlassen.&lt;/p&gt;&lt;p&gt;Daraufhin habe ich getestet ob das verwendete Botnetz auf Redirects reagiert oder sie ignoriert. Und wie schön, es folgt 302er Redirects. Aus diesen Grunde läuft ein kleines PHP-Script anstelle meiner comment.php:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;php geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;&quot;&gt;&lt;a href=&quot;http://www.php.net/header&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;header&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;Location: &amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;url&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Dadurch werden die Requests des Botnetzes auf die beworbene Seite umgeleitet.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 25 Feb 2007 15:44:18 +0100</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/406-guid.html</guid>
    <category>botnetz</category>
<category>gegenmaßnahmen</category>
<category>spam</category>
<category>spammer</category>
<category>trackback</category>

</item>
<item>
    <title>Roundcube Mail 0.1beta2</title>
    <link>http://www.marcogabriel.com/blog/archives/327-Roundcube-Mail-0.1beta2.html</link>
            <category>PHP</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/327-Roundcube-Mail-0.1beta2.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=327</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=327</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    
&lt;p&gt;Ich habe eben mal schnell noch auf &lt;a target=&quot;_blank&quot; href=&quot;http://www.roundcube.net/&quot;&gt;Roundcubemail 0.1beta2&lt;/a&gt; geupdated, nachdem die cvs Version vom Mai 2006 die ganze Zeit recht stabil lief. Die 0.1 beta 2 ist entgegen der Versionsnummer 0.1 richtig brauchbar. Jetzt übrigens inklusive Rechtschreibprüfung inklusive Verbesserungsvorschlägen.&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;a   rel=&quot;lightbox&quot; href=&quot;http://www.marcogabriel.com/blog/uploads/main_screen.jpg&quot; class=&quot;serendipity_image_link&quot;&gt;&lt;img width=&quot;110&quot; height=&quot;68&quot; src=&quot;http://www.marcogabriel.com/blog/uploads/main_screen.serendipityThumb.jpg&quot; style=&quot;border: 0px none ; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Wenn ich mal Webmail nutze weil ich unterwegs bin ohne eigenen Computer, dann ist mir mittlerweile Roundcube deutlich lieber als SquirrelMail. Richtig eingesetzt sorgt AJAX eben für eine leichtere und intuitivere Bedienung.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 12 Aug 2006 20:12:54 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/327-guid.html</guid>
    <category>ajax</category>
<category>beta</category>
<category>roundcube</category>
<category>software</category>
<category>webmail</category>

</item>
<item>
    <title>Browser-Tabs vom 8. August 2006</title>
    <link>http://www.marcogabriel.com/blog/archives/324-Browser-Tabs-vom-8.-August-2006.html</link>
            <category>CSS und HTML</category>
            <category>Django</category>
            <category>Fotografie</category>
            <category>PHP</category>
            <category>Python</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/324-Browser-Tabs-vom-8.-August-2006.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=324</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=324</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    
&lt;ul&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www-128.ibm.com/developerworks/opensource/library/os-php-dbmistake/?ca=dgr-lnxw97Avoid5PHPerrors&quot;&gt;Five Common PHP Database Problems&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.webcredible.co.uk/user-friendly-resources/css/css-round-corners-boxes.shtml&quot;&gt;CSS and round corners: Boxes with curves&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.openpr.de/&quot;&gt;Presseportal OpenPR.de&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://gypsyjobs.com/&quot;&gt;Gypsyjobs: Jobs with Python / Django&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://nmariz.estadias.com/archives/41&quot;&gt;Django Admin Interface for a Blog in 5 Minutes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://lukeplant.me.uk/blog.php?id=1107301641&quot;&gt;A Django Website that took (a lot) more than 20 Minutes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.pointy-stick.com/blog/2006/06/14/custom-sql-django/&quot;&gt;Custom SQL in Django&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://foto.dirkhennig.de/harte-portraits-ebv.html&quot;&gt;Harte Portraits mit EBV / Photoshop&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Wed, 09 Aug 2006 00:36:07 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/324-guid.html</guid>
    <category>django</category>
<category>howto</category>
<category>links</category>
<category>portal</category>
<category>presse</category>
<category>sql</category>

</item>
<item>
    <title>Mal schnell noch auf Serendipity 1.0 gezogen</title>
    <link>http://www.marcogabriel.com/blog/archives/286-Mal-schnell-noch-auf-Serendipity-1.0-gezogen.html</link>
            <category>PHP</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/286-Mal-schnell-noch-auf-Serendipity-1.0-gezogen.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=286</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=286</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    
&lt;a target=&quot;_blank&quot; href=&quot;http://www.s9y.org/&quot;&gt;Serendipity&lt;/a&gt; (die Software mit der dieses Blog betrieben wird) wurde kürzlich in &lt;a target=&quot;_blank&quot; href=&quot;http://blog.s9y.org/archives/129-Serendipity-1.0-released!.html&quot;&gt;Version 1.0&lt;/a&gt; veröffentlicht. Da alle Upgrades seither so easy wie bei kaum einer anderen Software gingen wagte ich es auch dieses mal nach einem kurzen Backup. Siehe da - 30 Sekunden später lief die Version auch bei mir. Gratulation an&#039;s Team, starkes Stück Software. &lt;p&gt;Lustig finde ich irgendwie die Leut&#039;chen die im &lt;a target=&quot;_blank&quot; href=&quot;http://www.golem.de/0606/45946.html&quot;&gt;Golem.de Forum&lt;/a&gt; die Versionsnummer 1.0 kritisieren ohne die Software je gesehen zu haben. Die Entwicklung bis zu Version 1.0 dauerte zwar lange 3 Jahre, dafür aber ist der Funktionsumfang alles andere als 1.0. Was man vermisst kann man aus über 120 durchweg guten Plugins direkt durch einen Klick im Admin-Bereich nachinstallieren. Das freut den Anwender und schont die Nerven. &lt;/p&gt;
 
    </content:encoded>

    <pubDate>Mon, 19 Jun 2006 00:07:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/286-guid.html</guid>
    <category>blog</category>
<category>release</category>
<category>serendipity</category>
<category>software</category>

</item>

</channel>
</rss>
