<?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>TheFox &#187; PHP</title>
	<atom:link href="http://fox21.at/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://fox21.at</link>
	<description>Just another Perl hacker.</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:59:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Espresso 2.0.1 Review</title>
		<link>http://fox21.at/espresso-2-0-1-review.html</link>
		<comments>http://fox21.at/espresso-2-0-1-review.html#comments</comments>
		<pubDate>Wed, 01 Feb 2012 11:15:30 +0000</pubDate>
		<dc:creator>TheFox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://fox21.at/?p=3790</guid>
		<description><![CDATA[Hier ein Espresso 2.0.1 Demo Review von mir. Mit Cmd+&#60;Zahl&#62; zwischen File umschalten: 2 Mehrere Zeilen mit Tab (bzw. Shift+Tab nach links) einruecken: 1 Woerter Highlight beim Suchen: 2 Regulaerer Ausdruck beim Suchen: 1 Code Folding: 1 Code Highlight: 1 &#8230; <a href="http://fox21.at/espresso-2-0-1-review.html">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hier ein <a target="_blank" href="http://macrabbit.com/espresso/" target="_blank">Espresso 2.0.1</a> Demo Review von mir.</p>
<p><span id="more-3790"></span></p>
<ul>
<li>Mit Cmd+&lt;Zahl&gt; zwischen File umschalten: <strong>2</strong></li>
<li>Mehrere Zeilen mit Tab (bzw. Shift+Tab nach links) einruecken: <strong>1</strong></li>
<li>Woerter Highlight beim Suchen: <strong>2</strong></li>
<li>Regulaerer Ausdruck beim Suchen: <strong>1</strong></li>
<li>Code Folding: <strong>1</strong></li>
<li>Code Highlight: <strong>1</strong></li>
<li>CSS GUI: <strong>1</strong></li>
<li>Auto Upload zu einem Server beim Speichern einer lokalen Datei (auch ein- und ausschaltbar): <strong>2</strong></li>
<li>Automatische Textvervollstaendigung bei HTML Tags: <strong>1</strong></li>
<li>Automatische Textvervollstaendigung bei PHP Funktionen: <strong>4</strong> (Kann man nicht abschalten)</li>
<li>Smart Paste: <strong>6</strong> (voll verbuggt)</li>
<li>Toolbar nicht veraenderbar: <strong>5</strong> (andererseits hat man dann nicht die Qual der Wahl)</li>
<li><del>Kein Perl-Syntax Highlight: <strong>6</strong></del> &#8211;&gt; <a target="_blank" href="https://github.com/markuszeller/perl.sugar" target="_blank">perl.sugar</a></li>
</ul>
<p><strong>Fazit</strong>: Bis auf ein paar Kleinigkeiten, ist Espresso ein sehr guter HTML, CSS und PHP Editor.</p>
<h2>Legende</h2>
<ul>
<li>1 Sehr gut</li>
<li>2 Gut</li>
<li>3 Akzeptabel Positiv</li>
<li>4 Akzeptabel Negativ</li>
<li>5 Schlecht</li>
<li>6 Sehr schlecht</li>
</ul>
<h2>Weblinks</h2>
<ul>
<li><a target="_blank" href="http://macrabbit.com/espresso/" target="_blank">Macrabbit Espresso</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://fox21.at/espresso-2-0-1-review.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress iNove Thema mit All in One SEO Pack Plugin</title>
		<link>http://fox21.at/wordpress-inove-thema-mit-all-in-one-seo-pack-plugin.html</link>
		<comments>http://fox21.at/wordpress-inove-thema-mit-all-in-one-seo-pack-plugin.html#comments</comments>
		<pubDate>Tue, 20 Jan 2009 17:49:45 +0000</pubDate>
		<dc:creator>TheFox</dc:creator>
				<category><![CDATA[Homepage]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[ERROR]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[META]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Skin]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[Thema]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://fox21.at/?p=453</guid>
		<description><![CDATA[Nach ueber 2 Monaten mit dem Default-Thema von WordPress, hab ich endlich eine neue Thema installiert: iNove. Es ist nicht so, dass ich alle paar Monate eine neue Thema installiere. Die Default-Thema hat jeder. Meine Seite soll ja auch nach &#8230; <a href="http://fox21.at/wordpress-inove-thema-mit-all-in-one-seo-pack-plugin.html">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nach ueber 2 Monaten mit dem Default-Thema von WordPress, hab ich endlich eine neue Thema installiert: <a target="_blank" href="http://wordpress.org/extend/themes/inove" target="_blank">iNove</a>. Es ist nicht so, dass ich alle paar Monate eine neue Thema installiere. Die Default-Thema hat jeder. Meine Seite soll ja auch nach was ausschauen. Wenn ich die meist heruntergeladenste Thema benutze, dann ist natuerlich meine Seite nicht individuell.</p>
<p><span id="more-453"></span></p>
<p>iNove vertraegt sich aber nicht mit dem <a target="_blank" href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/" target="_blank">All in One SEO Pack</a>. Beide Extensions haben naemlich im HTML Head-Tag ein Keywords-Meta und ein Description-Meta. Das ist aber nicht gut fuer Google. Desswegen hab ich im File <strong>wordpress/wp-content/themes/inove/templates/start.php</strong> die Zeilen <strong>39</strong> und <strong>40</strong> geloescht.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>39
40
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;meta name=&quot;keywords&quot; content=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$keywords</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;
&lt;meta name=&quot;description&quot; content=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$description</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;</pre></td></tr></table></div>

<p><strong>Google killt localhost!</strong> Der Artikel ueber mein <a target="_blank" href="/tcp-udp-pipe-bridge-proxy-100.html" target="_blank">TCP Pipe Script</a> ist wieder komplett aus Google geloescht worden. Er wurde nur kurz, nach der Veroeffentlichung, in Google angezeigt. Kein einziges Wort von dem Artikel hab&#8217; ich bei Google gefunden. Zuerst dachte ich, dass es wegen dem Keywords- und Description-Meta war. Dann hab ich aber festgestellt, dass Google diese Seite als Sicherheitsrisiko ansieht, weil ich <em>localhost</em> verlinkt habe. Ich hab&#8217; die Verlinkung heute in der Frueh heraus genommen und seit Mittag ist mein Artikel wieder bei Google gelistet. Dieser befindet sich auf Platz 18 von 45 Mio. Suchergebnissen, wenn man nach <a target="_blank" href="http://www.google.at/search?num=100&amp;q=tcp" target="_blank">TCP</a> sucht. Das Ganze kann aber genau so auch ein Zufall sein. Weil im Google Cache existiert noch die alte Seite mit localhost Verlinkung und dem Default-Thema.</p>
]]></content:encoded>
			<wfw:commentRss>http://fox21.at/wordpress-inove-thema-mit-all-in-one-seo-pack-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.7 Artikelvorschau funktioniert nicht</title>
		<link>http://fox21.at/wordpress-27-artikelvorschau-funktioniert-nicht.html</link>
		<comments>http://fox21.at/wordpress-27-artikelvorschau-funktioniert-nicht.html#comments</comments>
		<pubDate>Sat, 20 Dec 2008 11:57:23 +0000</pubDate>
		<dc:creator>TheFox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Artikelvorschau]]></category>
		<category><![CDATA[Backend]]></category>
		<category><![CDATA[Cookie]]></category>
		<category><![CDATA[ERROR]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Subdomain]]></category>
		<category><![CDATA[Vorschau]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://fox21.at/?p=214</guid>
		<description><![CDATA[Die Artikelvorschau hat bei meinem WordPress 2.7 nicht funktiert. Das lag daran, dass ich das Backend nicht hier installiert habe, sondern auf einer anderen Subdomain. Wenn man also einen Artikel geschrieben und auf Vorschau geklickt hat, bekam man eine Fehlermeldung. &#8230; <a href="http://fox21.at/wordpress-27-artikelvorschau-funktioniert-nicht.html">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Die Artikelvorschau hat bei meinem <strong>WordPress 2.7</strong> nicht funktiert. Das lag daran, dass ich das <a target="_blank" href="http://de.wikipedia.org/wiki/Frontend_und_Backend" target="_blank">Backend</a> nicht <a target="_blank" href="http://fox21.at/wp-admin/" target="_blank"><strong>hier</strong></a> installiert habe, sondern auf einer anderen <strong>Subdomain</strong>. Wenn man also einen Artikel geschrieben und auf Vorschau geklickt hat, bekam man eine Fehlermeldung. Denn die Cookies werden dann fuer die Subdomain gespeichert, wo das Backend installiert ist. Die Vorschau ist aber im <a target="_blank" href="http://fox21.at/" target="_blank">Frontend</a>. Das heisst es gibt kein Cookie fuer&#8217;s Frontend.</p>
<p>Wie loest man nun das Problem? Ganz einfach. In der Datei <strong>wp-config.php</strong> fuegt man folgende Zeile hinzu:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'COOKIE_DOMAIN'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'DOMAIN.TLD'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Den String <em>DOMAIN.TLD</em> muss man durch die Frontend Domain ersetzen. In meinem Fall also <a target="_blank" href="http://fox21.at/" target="_blank"><em>fox21.at</em></a>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'COOKIE_DOMAIN'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'fox21.at'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://fox21.at/wordpress-27-artikelvorschau-funktioniert-nicht.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IP2Location &#8211; Location2IP &#8211; Country2IP &#8211; IP2Country</title>
		<link>http://fox21.at/ip2location-location2ip-country2ip-ip2country.html</link>
		<comments>http://fox21.at/ip2location-location2ip-country2ip-ip2country.html#comments</comments>
		<pubDate>Mon, 15 Dec 2008 13:00:01 +0000</pubDate>
		<dc:creator>TheFox</dc:creator>
				<category><![CDATA[Projekte]]></category>
		<category><![CDATA[Country2IP]]></category>
		<category><![CDATA[Geo::IPfree]]></category>
		<category><![CDATA[Geotargeting]]></category>
		<category><![CDATA[IP2Country]]></category>
		<category><![CDATA[IP2Location]]></category>
		<category><![CDATA[Location2IP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://fox21.at/?p=141</guid>
		<description><![CDATA[Mit dem Perl-Modul Geo::IPfree hab ich mir jetzt eine hilfreiche IP2Location-Webanwendung zusammen gebastelt. Damit kann man von einer IP-Adresse das zugehoerige Land herausfinden. Meine IP-Adresse gehoert &#8211; komischerweise &#8211; zu Schweden. Wie ist meine IP-Adresse sagt aber, dass ich aus &#8230; <a href="http://fox21.at/ip2location-location2ip-country2ip-ip2country.html">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Mit dem Perl-Modul <a target="_blank" href="http://search.cpan.org/dist/Geo-IPfree/" target="_blank">Geo::IPfree</a> hab ich mir jetzt eine hilfreiche <a target="_blank" href="http://tools.fox21.at/ip2location.php" target="_blank">IP2Location</a>-Webanwendung zusammen gebastelt. Damit kann man von einer <a target="_blank" href="http://de.wikipedia.org/wiki/IP-Adresse" target="_blank">IP-Adresse</a> das zugehoerige Land herausfinden. Meine IP-Adresse gehoert &#8211; komischerweise &#8211; zu Schweden. <a target="_blank" href="http://www.wieistmeineip.at/" target="_blank">Wie ist meine IP-Adresse</a> sagt aber, dass ich aus Oesterreich komme. Was ja auch stimmt. Ich hab mir zuerst mit dem Script <strong>Geo-IPfree-0.4/misc/ipct2txt.pl</strong> aus der Datenbank eine lesbare <a target="_blank" href="http://de.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> Datei erstellen lassen. Danach hab ich mir ein Script geschrieben, das die ASCII Daten in meine <a target="_blank" href="http://www.mysql.com/" target="_blank">MySQL</a>-Datenbank importiert. Ich will ja schliesslich nicht nur eine <a target="_blank" href="http://tools.fox21.at/ip2location.php" target="_blank">IP2Country</a>-, sondern auch eine <a target="_blank" href="http://tools.fox21.at/ip2location.php" target="_blank">Country2IP</a>-Funktion. Wenn man eine IP-Adresse eingibt, zeigt er alle IPs von dem Land an und markiert den Bereich rot. Oder man waehlt ein Land aus und dann zeigt er auch alle Adressbloecke von dem ausgewaehlen Land an.</p>
<p>Unter den <a target="_blank" href="http://tools.fox21.at/" target="_blank">Tools</a> findet man auch noch ein paar andere hilfreiche Sachen.</p>
]]></content:encoded>
			<wfw:commentRss>http://fox21.at/ip2location-location2ip-country2ip-ip2country.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1 Jahr LAOLA1.at</title>
		<link>http://fox21.at/1-jahr-laola1at.html</link>
		<comments>http://fox21.at/1-jahr-laola1at.html#comments</comments>
		<pubDate>Wed, 10 Dec 2008 07:00:18 +0000</pubDate>
		<dc:creator>TheFox</dc:creator>
				<category><![CDATA[Sonstiges]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Laola1]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://fox21.at/?p=90</guid>
		<description><![CDATA[Auf den Tag genau bin ich jetzt bei LAOLA1.at. Viel hab ich dazu gelernt in dem einem Jahr. Vorallem das ich jetzt Perl kann, find ich am besten. Man lernt ja nie aus. Ich lerne Programmiersprachen meistens immer am schnellsten, &#8230; <a href="http://fox21.at/1-jahr-laola1at.html">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Auf den Tag genau bin ich jetzt bei <a target="_blank" href="http://www.laola1.at/" target="_blank">LAOLA1.at</a>. Viel hab ich dazu gelernt in dem einem Jahr. Vorallem das ich jetzt <a target="_blank" href="http://www.perl.org/" target="_blank">Perl</a> kann, find ich am besten. Man lernt ja nie aus. Ich lerne Programmiersprachen meistens immer am schnellsten, wenn ich sie auch fuer etwas nuetzliches einsetzten kann. Aber nicht nur Perl hab ich immer besser und besser kennen gelernt, sondern auch Java. Aber in Java hab ich schon laenger nichts mehr gemacht. Scriptsprachen sind mir ja doch irgendwie lieber, weil man sie nicht extra kompilieren braucht. Das spart Zeit. Und Hintergrundanwendungen sind mir <strong>noch</strong> lieber. Ich kann zwar mit <a target="_blank" href="http://www.php.net/" target="_blank">PHP</a> auch Webanwendungen schreiben, aber es geht nichts ueber ein Perl-Script, das im Hintergrund rennt. Wenn ich jetzt so im Nachhinein nach denke, faellt mir ein, dass ich mich vielleicht doch im Internet TheDaemosCreater nennen haette sollen. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://fox21.at/1-jahr-laola1at.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

