<?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>Redips spideR Net&#187; PHP</title>
	<atom:link href="http://www.redips.net/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redips.net</link>
	<description>Techniques and Web Technologies</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:18:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/</generator>
		<item>
		<title>Convert PHP associative array to XML</title>
		<link>http://www.redips.net/php/convert-array-to-xml/</link>
		<comments>http://www.redips.net/php/convert-array-to-xml/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 13:06:08 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[associative]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xml generator]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=1041</guid>
		<description><![CDATA[Post shows simple PHP function of how to create XML string from associative array. In foreach loop, each item will be closed within XML tag named on key part of array member. After loop is finished, function returns XML string. I also created options to add parent node and write nodes in uppercase.]]></description>
		<wfw:commentRss>http://www.redips.net/php/convert-array-to-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading multiple parameters in PHP</title>
		<link>http://www.redips.net/php/multiple-parameters/</link>
		<comments>http://www.redips.net/php/multiple-parameters/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 12:26:38 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[accept]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[parameters]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=98</guid>
		<description><![CDATA[Suppose you have to send four values: element Id, table, row and column compounded in one URL parameter. That is simple, parameters can be concatenated and delimited with special character. But how to send multiple of these complex URL parameters?]]></description>
		<wfw:commentRss>http://www.redips.net/php/multiple-parameters/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Week list for the current date in PHP</title>
		<link>http://www.redips.net/php/week-list-current-date/</link>
		<comments>http://www.redips.net/php/week-list-current-date/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 08:45:25 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[week]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=64</guid>
		<description><![CDATA[This post shows two examples of how to find the week list for the current date. Input parameter is date, and the output is date list from Monday till Sunday. First example is done with classic algorithm while second example uses ISO week date format.]]></description>
		<wfw:commentRss>http://www.redips.net/php/week-list-current-date/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Backup Linux server with PHP</title>
		<link>http://www.redips.net/php/backup-linux-server/</link>
		<comments>http://www.redips.net/php/backup-linux-server/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 06:27:44 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[remote server]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=62</guid>
		<description><![CDATA[You can find a lot of backup solutions for Linux server. From expensive and multi platform software like NetBackup to simple BASH scripts. As a Linux (LAMP) administrator, I decided to write my own backup script in PHP. I wanted to backup important locations like Web root, crontabs, /etc, /root and copy MySQL dump files.]]></description>
		<wfw:commentRss>http://www.redips.net/php/backup-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find files with PHP</title>
		<link>http://www.redips.net/php/find-files-with-php/</link>
		<comments>http://www.redips.net/php/find-files-with-php/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 14:02:07 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[glob]]></category>
		<category><![CDATA[recursion]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=61</guid>
		<description><![CDATA[In PHP you can find files with function glob. The glob function searches for all the pathnames matching pattern according to the rules used by the libc glob function, which is similar to the rules used by common shells. It is nice, but it works for the current directory only. If you need function to search whole directory subtree, then it can be done with few lines more.]]></description>
		<wfw:commentRss>http://www.redips.net/php/find-files-with-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create thumbnail with PHP (2)</title>
		<link>http://www.redips.net/php/create-thumbnail-image-2/</link>
		<comments>http://www.redips.net/php/create-thumbnail-image-2/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 17:42:10 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[proportional]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=60</guid>
		<description><![CDATA[In this post you will find how to create thumbnail images with PHP. Function uses GD library so it doesn't depend on installed utilities like ImageMagick. On the other hand, you will have to install php-gd module - "yum install php-gd". Function will resize JPEG, PNG and GIF images, while PNG and GIF without losing their transparency.]]></description>
		<wfw:commentRss>http://www.redips.net/php/create-thumbnail-image-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Create thumbnail with PHP (1)</title>
		<link>http://www.redips.net/php/create-thumbnail-image-1/</link>
		<comments>http://www.redips.net/php/create-thumbnail-image-1/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 17:38:18 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=58</guid>
		<description><![CDATA[PHP can be used to create and manipulate image files in a variety of different image formats. This post shows how to create thumbnail image in the same directory as the original image. Instead of GD library, I used utilities from ImageMagick suite of tools so your PHP shouldn't have a GD module installed.]]></description>
		<wfw:commentRss>http://www.redips.net/php/create-thumbnail-image-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Log PHP errors to the separate file</title>
		<link>http://www.redips.net/php/log-errors-separate-file/</link>
		<comments>http://www.redips.net/php/log-errors-separate-file/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 07:20:45 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[separate file]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=55</guid>
		<description><![CDATA[In this post you will find how to configure PHP to log errors and warnings to the separate log file - error_php. You can place <em>error_php</em> wherever you want, but I will suggest to choose the /tmp directory ...]]></description>
		<wfw:commentRss>http://www.redips.net/php/log-errors-separate-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From MySQL to HTML with PHP and XML</title>
		<link>http://www.redips.net/php/from-mysql-to-html-with-xml/</link>
		<comments>http://www.redips.net/php/from-mysql-to-html-with-xml/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 07:51:46 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=43</guid>
		<description><![CDATA[In my post "From MySQL to XML with PHP", I described how to generate XML from the MySQL database. Instead of printing out XML, generated XML can be buffered and transformed with XSL to the HTML. Maybe it sounds complicated for a simple process of displaying MySQL data on the WEB page. But if you set a WEB architecture this way, you will have a separated presentation layer from the database and business logic.]]></description>
		<wfw:commentRss>http://www.redips.net/php/from-mysql-to-html-with-xml/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Write to a log file with PHP</title>
		<link>http://www.redips.net/php/write-to-log-file/</link>
		<comments>http://www.redips.net/php/write-to-log-file/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 08:21:55 +0000</pubDate>
		<dc:creator>dbunic</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.redips.net/?p=36</guid>
		<description><![CDATA[As you certainly know, PHP can be used for command line scripting too. In my case, I caught myself writing log PHP function many times so I finally decided to write Logging PHP class. After Logging class initialization, first call of lwrite method will open log file for writing. If lclose method is not called at the end, then log file will be closed implicitly.]]></description>
		<wfw:commentRss>http://www.redips.net/php/write-to-log-file/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

