<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>LAMPdocs: Linux, Apache, MySQL, PHP</title>
	
	<link>http://www.lampdocs.com/blog</link>
	<description>Linux, Apache, MySQL, PHP: Docs, Tricks and Secrets</description>
	<lastBuildDate>Wed, 28 Jul 2010 08:36:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/lampdocs" /><feedburner:info uri="lampdocs" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Mobile Device User Agent List Ready for Download</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/Ol6ZCtzsWrA/</link>
		<comments>http://www.lampdocs.com/blog/2010/07/mobile-device-user-agent-list-ready-for-download/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 08:36:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=881</guid>
		<description><![CDATA[Mobile user agent list for wap site development]]></description>
			<content:encoded><![CDATA[<p>I am not sure where you can use this list, I just would like to share it with you. I think you might need it developing WAP sites. Here is the link: <a href="http://rapidshare.com/files/409542961/agents_.txt.html">Mobile User Agent List</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/ynpV3LySeOrSnUmAMcvSNa6qR-M/0/da"><img src="http://feedads.g.doubleclick.net/~a/ynpV3LySeOrSnUmAMcvSNa6qR-M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ynpV3LySeOrSnUmAMcvSNa6qR-M/1/da"><img src="http://feedads.g.doubleclick.net/~a/ynpV3LySeOrSnUmAMcvSNa6qR-M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/Ol6ZCtzsWrA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/07/mobile-device-user-agent-list-ready-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/07/mobile-device-user-agent-list-ready-for-download/</feedburner:origLink></item>
		<item>
		<title>How to Delete Files Older Than a Week in a Folder in Linux</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/2u9Um0hC3wk/</link>
		<comments>http://www.lampdocs.com/blog/2010/07/how-to-delete-files-older-than-a-week-in-a-folder-in-linux/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 07:22:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Tricks]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=878</guid>
		<description><![CDATA[How to delete files order than a week in linux]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to delete some archive files, that are older than the specified date. It&#8217;s simple enough in Linux. Here is the command that allows you to do this: </p>
<blockquote><p>find /path/to/folder/* -mtime +7 -exec rm {} \;</p></blockquote>
<p>Please, note, that you need to keep spaces between command arguments. </p>
<p>This command is suitable for folders that contain a large number of files. In order to force file deletion you need to add -f key.</p>
<blockquote><p>find /path/to/folder/* -mtime +7 -exec rm {} \;</p></blockquote>
<p>If you need to move these files instead of deletion, here is the solution:</p>
<blockquote><p>find /path/to/folder/* -mtime +7 -exec mv {} /path/test-mv-to/ \;</p></blockquote>
<p>Hope this helps you to deal with archive files and big folders. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/QVgqTvq6TAYUD2ohg1j1FFk9EiI/0/da"><img src="http://feedads.g.doubleclick.net/~a/QVgqTvq6TAYUD2ohg1j1FFk9EiI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/QVgqTvq6TAYUD2ohg1j1FFk9EiI/1/da"><img src="http://feedads.g.doubleclick.net/~a/QVgqTvq6TAYUD2ohg1j1FFk9EiI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/2u9Um0hC3wk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/07/how-to-delete-files-older-than-a-week-in-a-folder-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/07/how-to-delete-files-older-than-a-week-in-a-folder-in-linux/</feedburner:origLink></item>
		<item>
		<title>How to Install Operating System on Asus EEE 901</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/OgkNeMCh7FA/</link>
		<comments>http://www.lampdocs.com/blog/2010/07/how-to-install-operating-system-on-asus-eee-901/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 15:36:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft Windows]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=874</guid>
		<description><![CDATA[How to fix " Reboot and select proper boot device" on eee 901 boot]]></description>
			<content:encoded><![CDATA[<p>As I have told about before, my second laptop is Asus EEE 901. It came with Windows pre-installed and it was very slow when I have unpacked it. There was almost no free space on C, and there were some program installed, and finally my decision to get rid of this stuff made me to try reinstalling operating system on this netbook. </p>
<p>Let me mention that I don&#8217;t have a USB DVD-ROM drive, that&#8217;s why I had to deal with flash disks. I have tried to create some bootable flash drives, and let me share the software that has a simple and user-friendly interface, and, of course, it&#8217;s free. It is called <a href="http://www.msfn.org/board/topic/120444-how-to-install-windows-from-usb-winsetupfromusb-with-gui/">WinSetupFromUSB</a> and you can download it using the link above. It allows you to create a bootable installation flash drive to install almost any version of Windows you like. </p>
<p>I have tries some flash drives, but none of them allowed me to boot. I have tried all possible BIOS settings, but result was the same each time: error message telling me &#8220;Reboot and select proper boot device&#8221;. </p>
<p>The solution was very simple, yet not documented. If you need to boot your EEE 901 netbook from a flash drive, you have to try <strong>hitting and holding-down the [Esc] key when the ASUS  splash screen appears during the boot-up process</strong>. It will then show you the boot menu. I can&#8217;t understand the reason, and there are no official docs from ASUS (I haven&#8217;t found any of them). </p>
<p>I would like to say a special thank you to guy from <a href="http://forum.eeeuser.com/viewtopic.php?id=83278">Eeeuser forum</a>, their solution really helped me to find out the simplest way to boot from my flash drive. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/65gAKabwQ2np16KMTjNmO9YdAI8/0/da"><img src="http://feedads.g.doubleclick.net/~a/65gAKabwQ2np16KMTjNmO9YdAI8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/65gAKabwQ2np16KMTjNmO9YdAI8/1/da"><img src="http://feedads.g.doubleclick.net/~a/65gAKabwQ2np16KMTjNmO9YdAI8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/OgkNeMCh7FA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/07/how-to-install-operating-system-on-asus-eee-901/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/07/how-to-install-operating-system-on-asus-eee-901/</feedburner:origLink></item>
		<item>
		<title>How to Remove A Shortcut in Windows Mobile Start Menu</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/kZBtFgXzKDs/</link>
		<comments>http://www.lampdocs.com/blog/2010/04/how-to-remove-a-shortcut-in-windows-mobile-start-menu/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 13:45:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=872</guid>
		<description><![CDATA[How to delete a shortcut in windows mobile start menu]]></description>
			<content:encoded><![CDATA[<p>This post will describe the simplest ever solution to remove a shortcut in Windows Mobile 6.1 Menu. This worked on my HTC Tytn, and it should work on any Windows-Enabled phone. If, for any reason, you are unable to delete your shortcut using Settings->Menus, all you need to do is to delete your shortcut using file system. In order to delete it, you need to navigate to Phone Memory\Windows\Start Menu and delete all the unnecessary shortcuts. <a href="http://www.christec.co.nz/blog/archives/213">Here</a> is a complete guide for shortcuts and I hope you will find it helpful. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/ral3x4LY4GwPQDv2rdzGzYeUrVM/0/da"><img src="http://feedads.g.doubleclick.net/~a/ral3x4LY4GwPQDv2rdzGzYeUrVM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ral3x4LY4GwPQDv2rdzGzYeUrVM/1/da"><img src="http://feedads.g.doubleclick.net/~a/ral3x4LY4GwPQDv2rdzGzYeUrVM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/kZBtFgXzKDs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/04/how-to-remove-a-shortcut-in-windows-mobile-start-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/04/how-to-remove-a-shortcut-in-windows-mobile-start-menu/</feedburner:origLink></item>
		<item>
		<title>How to Kill a List of Processes at Once in Linux</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/IFUniiALTnQ/</link>
		<comments>http://www.lampdocs.com/blog/2010/04/how-to-kill-a-list-of-processes-at-once-in-linux/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 13:10:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[kill list of processes]]></category>
		<category><![CDATA[kill user processes linux]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=870</guid>
		<description><![CDATA[A short command that allows to terminate all the processes by their name]]></description>
			<content:encoded><![CDATA[<p>Sometimes we need to kill a bunch of processes. For example, we have run a plenty of PHP scripts from command line, and have noticed there are errors in them. Let&#8217;s say the wrong script is called php_script.php. Then in order to terminate all processes associated with script name, you need to issue the following command: </p>
<p><code><strong>kill `ps aux | grep php_script.php | grep -v grep | awk '{print $2}'`</strong></code></p>
<p>What does this command actually do? It sends process IDs found by ps to the kill command. Then all these processes are killed. This command is used when any other methods, like <strong>killall -9 php</strong> are not acceptable for any reason. </p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.lampdocs.com/blog/2008/07/delete-all-processes-of-a-single-user-linux/" title="Delete all Processes of a Single User Linux (July 5, 2008)">Delete all Processes of a Single User Linux</a> (0)</li>
</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/zm5UMuDgrkMG7-ZflmHheNHZ7cA/0/da"><img src="http://feedads.g.doubleclick.net/~a/zm5UMuDgrkMG7-ZflmHheNHZ7cA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/zm5UMuDgrkMG7-ZflmHheNHZ7cA/1/da"><img src="http://feedads.g.doubleclick.net/~a/zm5UMuDgrkMG7-ZflmHheNHZ7cA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/IFUniiALTnQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/04/how-to-kill-a-list-of-processes-at-once-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/04/how-to-kill-a-list-of-processes-at-once-in-linux/</feedburner:origLink></item>
		<item>
		<title>How to Add Sicky Bit for a Directory in Linux</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/IAw4KnL0GLw/</link>
		<comments>http://www.lampdocs.com/blog/2010/04/how-to-add-sicky-bit-for-a-directory-in-linux/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 06:23:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[sticky bit]]></category>
		<category><![CDATA[sticky bit /tmp]]></category>
		<category><![CDATA[sticky bit mysql]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=868</guid>
		<description><![CDATA[How to set sticky bit for your directories]]></description>
			<content:encoded><![CDATA[<p>First of all, let me explain, what the <a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a> is. When set, it tells the operating system to retain the text segment of the application in swap space after the process exited. This speeds up subsequent executions as it allows the kernel to prevent multiple operations of moving the program from swap to real memory. </p>
<p>The most common use of the <a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a> today is related to directories. When the <strong><a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a></strong> is set, only the item&#8217;s owner, the directory&#8217;s owner, or the root can rename, delete, or modify files. Without the <a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a> set, any user with write and execute permissions for the directory can rename or delete contained files, regardless of owner. Typically this is set on the /tmp directory to prevent users from deleting or moving other users&#8217; files. </p>
<p>In order to set the <a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a>, a simple command is used: </p>
<p><code>chmod +t /tmp<br />
</code></p>
<p>In order to check whether the <a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a> is set, here is another command: </p>
<p><code>ls -ld /tmp</code></p>
<p>If you r last bit is &#8216;t&#8217;, then the <a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a> is set to the directory. It is a common practice to protect this folder in such a way as many server applications store their temporary data in this directory. For example, default MySQL configuration is set to store its socket file in /tmp/mysql.sock. You can experience problems if you don&#8217;t set a <a href="http://www.lampdocs.com/blog/tag/sticky-bit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sticky bit">sticky bit</a> on your /tmp directory. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/5iHkkTfPxv8SKoLhTWVOr5iKYmM/0/da"><img src="http://feedads.g.doubleclick.net/~a/5iHkkTfPxv8SKoLhTWVOr5iKYmM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5iHkkTfPxv8SKoLhTWVOr5iKYmM/1/da"><img src="http://feedads.g.doubleclick.net/~a/5iHkkTfPxv8SKoLhTWVOr5iKYmM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/IAw4KnL0GLw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/04/how-to-add-sicky-bit-for-a-directory-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/04/how-to-add-sicky-bit-for-a-directory-in-linux/</feedburner:origLink></item>
		<item>
		<title>/usr/bin/ld: cannot find -lltdl on PHP Make: How to Fix</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/b8Oh0RUfOJc/</link>
		<comments>http://www.lampdocs.com/blog/2010/04/usrbinld-cannot-find-lltdl-on-php-make-how-to-fix/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 14:36:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Configuration]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=865</guid>
		<description><![CDATA[lltdl error on PHP make: here is the solution for you. ]]></description>
			<content:encoded><![CDATA[<p>You can meet this error while trying to make PHP on a fresh server. For example, you have this configure line:</p>
<p><code>./configure '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-calendar' '--enable-mbstring' '--disable-cgi' '--disable-magic-quotes' '--with-curl' '--with-curlwrappers' '--with-zlib' '--with-bz2' '--enable-ftp' '--with-gd' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr/lib/mysql' '--enable-soap' '--with-xmlrpc' '--enable-zip' '--with-pear'</code></p>
<p>and the error you receive is: </p>
<p><code>/usr/bin/ld: cannot find -lltdl<br />
collect2: ld returned 1 exit status<br />
make: *** [libphp5.la] Error 1</code></p>
<p>Most probably you don&#8217;t have libtool-ltdl-devel installed. All you need is to install it using yum (or any other applicable package manager). <strong>yum install libtool-ltdl-devel</strong>. Then run <strong>./configure</strong>, <strong>make</strong> and <strong>make install</strong>. This should do the job. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/93-arS9lcuyTnXl9cOqbwhXhlgg/0/da"><img src="http://feedads.g.doubleclick.net/~a/93-arS9lcuyTnXl9cOqbwhXhlgg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/93-arS9lcuyTnXl9cOqbwhXhlgg/1/da"><img src="http://feedads.g.doubleclick.net/~a/93-arS9lcuyTnXl9cOqbwhXhlgg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/b8Oh0RUfOJc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/04/usrbinld-cannot-find-lltdl-on-php-make-how-to-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/04/usrbinld-cannot-find-lltdl-on-php-make-how-to-fix/</feedburner:origLink></item>
		<item>
		<title>How to Create a db4 Database With PHP</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/I0rTAkbv2UA/</link>
		<comments>http://www.lampdocs.com/blog/2010/04/how-to-create-a-db4-database-with-php/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 08:13:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Solutions]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=863</guid>
		<description><![CDATA[Creating a blank db4 database]]></description>
			<content:encoded><![CDATA[<p>In order to create a blank db4 database with PHP script, all you need is to use this code: </p>
<p><code><br />
<?<br />
$srcfile="/path/to/db4file";<br />
$id=dba_open($srcfile, 'c', 'db4');<br />
dba_close($id);<br />
?><br />
</code></p>

<p><a href="http://feedads.g.doubleclick.net/~a/OzcpB7zeaO9M_1uX2SYlifR4joQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/OzcpB7zeaO9M_1uX2SYlifR4joQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/OzcpB7zeaO9M_1uX2SYlifR4joQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/OzcpB7zeaO9M_1uX2SYlifR4joQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/I0rTAkbv2UA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/04/how-to-create-a-db4-database-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/04/how-to-create-a-db4-database-with-php/</feedburner:origLink></item>
		<item>
		<title>Liberty Reserve Automation: 200Authentification Error</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/uqmO8ZetmXc/</link>
		<comments>http://www.lampdocs.com/blog/2010/04/liberty-reserve-automation-200authentification-error/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 13:46:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Solutions]]></category>
		<category><![CDATA[error200 api lr]]></category>
		<category><![CDATA[liberty reserve 200 error]]></category>
		<category><![CDATA[lr api 200]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=861</guid>
		<description><![CDATA[How to solve Liberty reserve api 200 error]]></description>
			<content:encoded><![CDATA[<p>This post is related to Liberty Reserve API. If you&#8217;re using it and have suddenly found that you cannot use in anymore, it is possible that you can face an authentication error. Even if your password, API name and secret word were not changed, you can get such a responce: <Error><Code>200</Code><Text>Authentication error</Text><Description></Description></Error></BalanceResponse>. </p>
<p>The solution is quite simple. If there were no changes made to user data, you should update your time. Yes, you should sync your server time to any time server. I can&#8217;t know the reason, but LR should ensure your time is correct before letting you use their API functionality. You can check <a href="http://www.lampdocs.com/blog/2010/01/setting-up-ntp-time-synchronisation-in-centos/">Ntp Synchronisation setup</a> or sync your time manually. Hope this saves you some time, as this feature is not documented. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/7gNdkDZuqFp_r6ReMkQRWSJpmBk/0/da"><img src="http://feedads.g.doubleclick.net/~a/7gNdkDZuqFp_r6ReMkQRWSJpmBk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7gNdkDZuqFp_r6ReMkQRWSJpmBk/1/da"><img src="http://feedads.g.doubleclick.net/~a/7gNdkDZuqFp_r6ReMkQRWSJpmBk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/uqmO8ZetmXc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/04/liberty-reserve-automation-200authentification-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/04/liberty-reserve-automation-200authentification-error/</feedburner:origLink></item>
		<item>
		<title>Regular Expression to Validate URLs</title>
		<link>http://feedproxy.google.com/~r/lampdocs/~3/OJ42_YDnWcY/</link>
		<comments>http://www.lampdocs.com/blog/2010/02/regular-expression-to-validate-urls/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 15:20:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Solutions]]></category>
		<category><![CDATA[Regexps]]></category>
		<category><![CDATA[php url form validation]]></category>
		<category><![CDATA[regular expression url]]></category>
		<category><![CDATA[validate url php]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=859</guid>
		<description><![CDATA[Regular expression used to validate URLs]]></description>
			<content:encoded><![CDATA[<p>Here is a short regexp that is used to validate whether a user has entered correct URL address. Might be useful in any scripts dealing with user data.</p>
<p>I will show it as PHP code:</p>
<blockquote><p>preg_match(&#8216;/^(http:\/\/|https:\/\/)([^\.\/]+\.)*([a-zA-Z0-9])([a-zA-Z0-9-]*)\.([a-zA-Z]{2,4})(\/.*)?$/i&#8217;, $_POST['url']);</p></blockquote>
<p>It will check whether url suits the pattern. May not be ideal, but it&#8217;s working. <img src='http://www.lampdocs.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p><a href="http://feedads.g.doubleclick.net/~a/T7_EE_IwDxryhPRtXbByO9w8NPc/0/da"><img src="http://feedads.g.doubleclick.net/~a/T7_EE_IwDxryhPRtXbByO9w8NPc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/T7_EE_IwDxryhPRtXbByO9w8NPc/1/da"><img src="http://feedads.g.doubleclick.net/~a/T7_EE_IwDxryhPRtXbByO9w8NPc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/lampdocs/~4/OJ42_YDnWcY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/02/regular-expression-to-validate-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lampdocs.com/blog/2010/02/regular-expression-to-validate-urls/</feedburner:origLink></item>
	</channel>
</rss>
