<?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>Adminbox.de&#187; PHP</title>
	<atom:link href="http://www.adminbox.de/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adminbox.de</link>
	<description>Notizen eines Systemadministrators</description>
	<lastBuildDate>Tue, 31 Aug 2010 14:36:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP: Speicherplatzproblem bei imagecreate() o. ä.</title>
		<link>http://www.adminbox.de/2009/php-speicherplatzproblem-bei-imagecreate-o-a/</link>
		<comments>http://www.adminbox.de/2009/php-speicherplatzproblem-bei-imagecreate-o-a/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 15:59:01 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webentwicklung]]></category>
		<category><![CDATA[ImageCreate]]></category>
		<category><![CDATA[ImageCreateFromJPEG]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[Speicher]]></category>

		<guid isPermaLink="false">http://www.adminbox.de/?p=126</guid>
		<description><![CDATA[Mit PHP stößt man manchmal an seine Grenzen. Ich habe gerade an einem kleinen Skript gebastelt, dass mir hochgeladene Bilder auf eine vernünftige Bildgröße reduziert und automatisch Vorschaubilder erzeugt. Das Skript iteriert also durch ein Verzeichnis.
Leider stieß ich damit an ein Speicherlimit:
Fatal error: Allowed memory size of xxx bytes exhausted at (null):0 (tried to allocate [...]]]></description>
		<wfw:commentRss>http://www.adminbox.de/2009/php-speicherplatzproblem-bei-imagecreate-o-a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User Agent bei PHP-Funktion file_get_contents übergeben</title>
		<link>http://www.adminbox.de/2008/user-agent-bei-php-funktion-file_get_contents-ubergeben/</link>
		<comments>http://www.adminbox.de/2008/user-agent-bei-php-funktion-file_get_contents-ubergeben/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 21:46:58 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[file_get_contents]]></category>
		<category><![CDATA[User Agent]]></category>

		<guid isPermaLink="false">http://www.adminbox.de/?p=27</guid>
		<description><![CDATA[Wer einen Bot in PHP programmiert, um andere Websites auszulesen, kommt (meistens) um die Funktion file_get_contents nicht herum. Wer selbst eine Bot-Kennung als User-Agent mitsenden will, hat hier das Problem, dass das Setzen des Header mittels header() nicht funktioniert.

Die Lösung:
ini_set('user_agent', 'Mein Bot');
wobei &#8216;Mein Bot&#8217; natürlich durch die gewünschte Kennung ersetzt werden muss.
]]></description>
		<wfw:commentRss>http://www.adminbox.de/2008/user-agent-bei-php-funktion-file_get_contents-ubergeben/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
