<?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>nessio.de &#124; Bennis Blog &#187; Funktion</title>
	<atom:link href="http://nessio.de/tag/funktion/feed/" rel="self" type="application/rss+xml" />
	<link>http://nessio.de</link>
	<description>Rund ums Web - Tools, Apps, Tipps &#38; Tricks</description>
	<lastBuildDate>Fri, 11 May 2012 16:37:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Twitter Profil Image mit PHP aktualisieren.</title>
		<link>http://nessio.de/2009/06/twitter-profil-image-mit-php-aktualisieren/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-profil-image-mit-php-aktualisieren</link>
		<comments>http://nessio.de/2009/06/twitter-profil-image-mit-php-aktualisieren/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 04:16:16 +0000</pubDate>
		<dc:creator>Benni</dc:creator>
				<category><![CDATA[Dev / Codeschnipsel]]></category>
		<category><![CDATA[Funktion]]></category>
		<category><![CDATA[Post]]></category>
		<category><![CDATA[profile image]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[twitterlogo]]></category>
		<category><![CDATA[update profile]]></category>
		<category><![CDATA[Webspace]]></category>

		<guid isPermaLink="false">http://blog.nessio.net/?p=167</guid>
		<description><![CDATA[Heute mal der Codeschnipsel um sein Twitter Profil Image mittels PHP zu aktualisieren: Als erstes legen wir unsere Twitter-User Daten fest 1 2 3 4 &#60;?php $username = 'Twitter-User'; $password = 'Passwort'; ?&#62; Wichtig ist, dass das zu speichernde Bild lokal auf dem Webspace vorhanden ist, da es sonst zu einem Problem kommt, welches ich [...]]]></description>
			<content:encoded><![CDATA[<p>Heute mal der Codeschnipsel um sein Twitter Profil Image mittels PHP zu aktualisieren:</p>
<p>Als erstes legen wir unsere Twitter-User Daten fest</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Twitter-User'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Passwort'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Wichtig ist, dass das zu speichernde Bild lokal auf dem Webspace vorhanden ist, da es sonst zu einem Problem kommt, welches ich noch nicht lösen konnte. Sollte das Bild denoch im Webliegen kann man dies mit folgenden Code auf dem Webspace speichern:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">// Bilder Speichern</span>
<span style="color: #990000;">ob_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$fp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://assets0.twitter.com/images/twitter_logo_header.png&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;rb&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Image lesen</span>
<span style="color: #990000;">fpassthru</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$file</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ob_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">ob_end_clean</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$fp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;./twitterlogo.png&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;wb+&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Image speichern</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> <span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Nun wird das Bild vor jedem aufruf lokal gespeichert. Um das Bild nun zu Twitter zu schicken brauchen wir folgenden funktion:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> account_update_profile_image<span style="color: #009900;">&#40;</span><span style="color: #000088;">$image</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user</span><span style="color: #339933;">,</span> <span style="color: #000088;">$pw</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">file_exists</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$image</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'image'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;@<span style="color: #006699; font-weight: bold;">$image</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'image'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>		
			<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://twitter.com/account/update_profile_image.xml&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #666666; font-style: italic;">//PRINT_r($args);</span>
			<span style="color: #000088;">$curl_handle</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$url</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #339933;">,</span> CURLOPT_CONNECTTIMEOUT<span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #339933;">,</span> CURLOPT_POST<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #339933;">,</span> CURLOPT_HTTPHEADER<span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Expect:'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #339933;">,</span> CURLOPT_POSTFIELDS<span style="color: #339933;">,</span> <span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #339933;">,</span> CURLOPT_USERPWD<span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$user</span>:<span style="color: #006699; font-weight: bold;">$pw</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$buffer</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_handle</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
			<span style="color: #666666; font-style: italic;">//PRINT_R($buffer);</span>
		<span style="color: #009900;">&#125;</span> 
	<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Diese Funktion überprüft ob das Bild existiert und schreibt es in ein Array, um es letztendlich an den Twitter Account zu schicken.</p>
<p>Um die Funktion aufzurufen werden drei Parameter benötigt, der Bildername, der Username und das Passwort, wobei Username und Passwort aus den oben festgelegten Variablen Stammen.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">account_update_profile_image<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;twitterlogo.png&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$username</span><span style="color: #339933;">,</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://nessio.de/2009/06/twitter-profil-image-mit-php-aktualisieren/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>TwitterFox &#8211; Die Erweiterung für den FireFox</title>
		<link>http://nessio.de/2009/05/twitter-fox-die-erweiterung-fur-den-firefox/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-fox-die-erweiterung-fur-den-firefox</link>
		<comments>http://nessio.de/2009/05/twitter-fox-die-erweiterung-fur-den-firefox/#comments</comments>
		<pubDate>Wed, 27 May 2009 04:01:56 +0000</pubDate>
		<dc:creator>Benni</dc:creator>
				<category><![CDATA[Dev / Codeschnipsel]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[Erweiterung]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[firefox browser]]></category>
		<category><![CDATA[Funktion]]></category>
		<category><![CDATA[Icon]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[reply]]></category>
		<category><![CDATA[Status]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blog.nessio.net/?p=95</guid>
		<description><![CDATA[Mittlerweile gibt es diverse Twitter Tools für diverse Systeme (iPhone, Blackberry….). Doch schon einmal nach einem Tool für den FireFox Browser gesucht? Das beliebteste Tool für den FireFox ist TwitterFox. Das Add-on fügt in die untere Linke Ecke des Browsers ein Icon hinzu, welches Benachrichtigungen zeigt, wenn ein Freund neue Twitter Nachrichten gepostet hat. Über [...]]]></description>
			<content:encoded><![CDATA[<p>Mittlerweile gibt es diverse Twitter Tools für diverse Systeme (<a href="http://www.i-app.de/2008/12/12/twitterfon-app-fuer-twitter-com/" target="_blank">iPhone</a>, Blackberry….). Doch schon einmal nach einem Tool für den FireFox Browser gesucht?<br />
Das beliebteste Tool für den FireFox ist <a href="http://www.twitterfox.net/" target="_blank">TwitterFox</a>. Das Add-on fügt in die untere Linke Ecke des Browsers ein Icon hinzu, welches Benachrichtigungen zeigt, wenn ein Freund neue Twitter Nachrichten gepostet hat. Über <a href="http://www.twitterfox.net/" target="_blank">TwitterFox</a> ist es schnell &amp; bequem möglich seinen Twitter Status zu aktualisieren, einfach auf das Twitter Icon klicken und seinen neuen Status in dem Eingabe Feld posten.</p>
<p><a href="http://www.twitterfox.net/" target="_blank">TwitterFox</a> liefert die wichtigsten, sowie viele weitere Features mit:</p>
<ul>
<li> Tweets Reply-Funktion</li>
<li> Tweets Kopieren</li>
<li> Tweets löschen</li>
<li> Tweets in neuem Tab öffnen</li>
<li> Mehrere Accounts verwalten</li>
<li> Replies &amp; Nachrichten Übersicht</li>
<li> Tweets als Favoriten markieren</li>
<li> Und viele weitere nette Features</li>
</ul>
<p><a href="http://www.twitterfox.net/" target="_blank">Hier geht es zur Hersteller &amp; Download Seite</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nessio.de/2009/05/twitter-fox-die-erweiterung-fur-den-firefox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Auf .htaccess passwortgeschützte Seiten mit PHP zugreifen</title>
		<link>http://nessio.de/2009/04/auf-htaccess-passwortgeschutzte-seiten-mit-php-zugreifen/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=auf-htaccess-passwortgeschutzte-seiten-mit-php-zugreifen</link>
		<comments>http://nessio.de/2009/04/auf-htaccess-passwortgeschutzte-seiten-mit-php-zugreifen/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 12:48:43 +0000</pubDate>
		<dc:creator>Benni</dc:creator>
				<category><![CDATA[Dev / Codeschnipsel]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[fclose]]></category>
		<category><![CDATA[Funktion]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Timeout]]></category>

		<guid isPermaLink="false">http://blog.nessio.net/?p=70</guid>
		<description><![CDATA[Mal wieder ein aktuelles Problem aus dem alttag. Eine Webseite wird mittel .htaccess geschützt, wie kann man trotzdem an geschützte PHP-Seiten rankommen? Auf der Suche nach der Funktion bin ich auf folgendes Script gestoßen welches Ohne Probleme funktioniert und die .htaccess Anmeldung übernimmt. Konfiguration der Parameter 1 2 3 4 $host = &#34;domain.tld&#34;; // Dein [...]]]></description>
			<content:encoded><![CDATA[<p>Mal wieder ein aktuelles Problem aus dem alttag. Eine Webseite wird mittel .htaccess geschützt, wie kann man trotzdem an geschützte PHP-Seiten rankommen? Auf der Suche nach der Funktion bin ich auf folgendes Script gestoßen welches Ohne Probleme funktioniert und die .htaccess Anmeldung übernimmt.</p>
<p>Konfiguration der Parameter</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;domain.tld&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Dein Host, z.B. admin.server.de oder geheim.de</span>
<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/geheim/index.html&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Die URI, auf die dann zugegriffen werden soll</span>
<span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;test&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Benutzername vom .htaccess</span>
<span style="color: #000088;">$pw</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;testpwd&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Passwort vom .htaccess</span></pre></td></tr></table></div>

<p>Der eigentliche Script Inhalt</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-type: text/html&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$sock</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fsockopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$host</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">80</span><span style="color: #339933;">,</span> <span style="color: #000088;">$errno</span><span style="color: #339933;">,</span> <span style="color: #000088;">$errstr</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// 80 = Port, 5 = Timeout</span>
<span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;GET &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; HTTP/1.1rn&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Host: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$host</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;rn&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Authorization: Basic &quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">base64_encode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$pw</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;rn&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Connection: closernrn&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">feof</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #990000;">fgets</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4096</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Antwort lesen</span>
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://nessio.de/2009/04/auf-htaccess-passwortgeschutzte-seiten-mit-php-zugreifen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

