<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Linux, MySQL, PhP, Perl...</title>
	<link>http://linux.bgsnow.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 16:30:03 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0" -->

	<item>
		<title>Input Validation</title>
		<description><![CDATA[A simple PHP function for INPUT validation. function check_chars&#40;$variable,$what,$min_length, $max_length,$bad_chars&#41;&#123; if &#40;strlen&#40;$variable&#41; &#60; $min_length &#124;&#124; strlen&#40;$variable&#41; &#62; $max_length&#41; &#123; die&#40;&#34;$what is not the correct number of chars or is missing.&#34;&#41;; &#125; else if &#40;preg_match&#40;&#34;/$bad_chars/i&#34;, $variable&#41;&#41; &#123; die&#40;&#34;Incorrect chars in $what.&#34;&#41;; &#125; else &#123; echo &#34;Successful type constraint check for $what.&#60;br \&#62;&#34;; &#125; &#160; $variable= mysql_real_escape_string&#40;$variable&#41;; [...]]]></description>
		<link>http://linux.bgsnow.com/input-validation.php</link>
			</item>
	<item>
		<title>Getty Images Scam?</title>
		<description><![CDATA[Is Getty Images a scam? It seems so from most posts on the net and if you have problems with them read these: http://internetmadness.blogspot.com/2007/06/getty-images-are-trying-to-getty-me.html http://www.zyra.info/getstu.htm Whether Getty is a scam or not remains a question to all. Their claims don&#8217;t have legal basis and I don&#8217;t think they have ever successfully sued anyone.]]></description>
		<link>http://linux.bgsnow.com/getty-images-scam.php</link>
			</item>
	<item>
		<title>MySQL Normalization</title>
		<description><![CDATA[Database normalization prevents redundancy, inconsistency and data loss. It includes several steps as follows: 1. 1NF &#8211; First Normal Form states that all tuple values should be atomic. Atomic means that there should be only one useful piece of data for each attribute. The first step in database normalization is to determine the functional dependencies in the database. [...]]]></description>
		<link>http://linux.bgsnow.com/mysql-normalization.php</link>
			</item>
	<item>
		<title>Relational Theory</title>
		<description><![CDATA[The difference between relvar and relation: A relation is a value, filled with all the attribute and tuple values. On the other hand a relvar is a variable associated with some representation of a relation. The difference between a base relation and a view: Base relation is the original value while a view is deducted [...]]]></description>
		<link>http://linux.bgsnow.com/relational-theory.php</link>
			</item>
	<item>
		<title>Text Files and MySQL databases</title>
		<description><![CDATA[If for some strange reason you have to import CSV file directly into MySQL here is a good query to go: mysql&#62; LOAD DATA INFILE &#8216;file.csv&#8217; INTO TABLE table_name FIELDS TERMINATED BY &#8216;,&#8217; OPTIONALLY ENCLOSED BY &#8216;&#8221;&#8216; LINES TERMINATED BY &#8216;\r\n&#8217; (column1, column2); It gives you all the options such as how fields are terminated, [...]]]></description>
		<link>http://linux.bgsnow.com/csv_mysql_database.php</link>
			</item>
	<item>
		<title>Advanced MySQL Priveleges</title>
		<description><![CDATA[MySQL privileges assignment is a complex process which allows you to set different privileges for an user for different tables/databases. However, this process is very often neglected and users are granted with all privileges for a whole database. If improper privileges are applied this can lead to a website being hacked via MySQL. This means [...]]]></description>
		<link>http://linux.bgsnow.com/advanced-mysql-priveleges.php</link>
			</item>
	<item>
		<title>Shopping Cart in PHP</title>
		<description><![CDATA[Here is part of my shopping cart project which I created during my PHP / MySQL studies. Needless to say it is good only for studying purposes because it is insecure and quite immature: The funniest thing is that one of the requirements for this cart was to be in just 2 files. So because [...]]]></description>
		<link>http://linux.bgsnow.com/shopping-cart-in-php.php</link>
			</item>
	<item>
		<title>Eclipse in ZenWalk</title>
		<description><![CDATA[If you try a default install of Eclipse in Zenwalk you will probably get an error about Eclipse not being able to find java&#8217;s path: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: /usr/lib/eclipse-3.4.1/jre/bin/java [...]]]></description>
		<link>http://linux.bgsnow.com/eclipse-in-zenwalk.php</link>
			</item>
	<item>
		<title>Imagemagick libfftw3.so.3 error</title>
		<description><![CDATA[If you have tried to run (install) Imagemagick on ZenWalk 6.2 (possibly on other distros too) you might have run into problems with libfftw3.so.3 such as: $ convert convert: error while loading shared libraries: libfftw3.so.3: cannot open shared object file: No such file or directory In order to fix this error simply install fftw (with [...]]]></description>
		<link>http://linux.bgsnow.com/imagemagick-libfftw3-so-3-error.php</link>
			</item>
	<item>
		<title>Starting MySQL. ERROR! Manager of pid-file quit without updating file.</title>
		<description><![CDATA[I got that nasty error after moving around different directories in /var/lib/mysql: root@server:/var/lib/mysql# /etc/init.d/mysql start Starting MySQL. ERROR! Manager of pid-file quit without updating file. There were all kind of suggestions about it on the net, most of which had something to do with incorrect shutdown or incorrect permissions for the pid file. One of [...]]]></description>
		<link>http://linux.bgsnow.com/starting-mysql-error-manager-of-pid-file-quit-without-updating-file.php</link>
			</item>
</channel>
</rss>
