<?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>Stimasoft</title>
	<atom:link href="http://www.evolua.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evolua.ro</link>
	<description>Stimasoft web blog</description>
	<lastBuildDate>Mon, 03 May 2010 15:07:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Managing Hierarchical Data in MySQL</title>
		<link>http://www.evolua.ro/managing-hierarchical-data-in-mysql/</link>
		<comments>http://www.evolua.ro/managing-hierarchical-data-in-mysql/#comments</comments>
		<pubDate>Mon, 03 May 2010 15:07:25 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=301</guid>
		<description><![CDATA[Exemple de generare categoriilor ierarhic din SQL exemplu: LOCK TABLE nested_category WRITE; SELECT @myRight := rgt FROM nested_category WHERE name = &#8216;TELEVISIONS&#8217;; UPDATE nested_category SET rgt = rgt + 2 WHERE rgt > @myRight; UPDATE nested_category SET lft = lft + 2 WHERE lft > @myRight; INSERT INTO nested_category(name, lft, rgt) VALUES(&#8216;GAME CONSOLES&#8217;, @myRight + [...]]]></description>
			<content:encoded><![CDATA[<p>Exemple de generare categoriilor ierarhic din SQL</p>
<p>exemplu:</p>
<p>LOCK TABLE nested_category WRITE;</p>
<p>SELECT @myRight := rgt FROM nested_category<br />
WHERE name = &#8216;TELEVISIONS&#8217;;</p>
<p>UPDATE nested_category SET rgt = rgt + 2 WHERE rgt > @myRight;<br />
UPDATE nested_category SET lft = lft + 2 WHERE lft > @myRight;</p>
<p>INSERT INTO nested_category(name, lft, rgt) VALUES(&#8216;GAME CONSOLES&#8217;, @myRight + 1, @myRight + 2);</p>
<p>UNLOCK TABLES;</p>
<p>SELECT CONCAT( REPEAT(&#8216; &#8216;, COUNT(parent.name) &#8211; 1), node.name) AS name<br />
FROM nested_category AS node,<br />
nested_category AS parent<br />
WHERE node.lft BETWEEN parent.lft AND parent.rgt<br />
GROUP BY node.name<br />
ORDER BY node.lft;</p>
<p>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| name                  |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| ELECTRONICS           |<br />
| -TELEVISIONS          |<br />
| &#8211; -TUBE                |<br />
| &#8211; -LCD                 |<br />
| &#8211; -PLASMA              |<br />
| -PORTABLE ELECTRONICS |<br />
| &#8211; -MP3 PLAYERS         |<br />
| &#8211; -FLASH              |<br />
| &#8211;CD PLAYERS          |<br />
| &#8211;2 WAY RADIOS        |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+</p>
<p>Soursa: <b><a href="http://dev.mysql.com/tech-resources/articles/hierarchical-data.html"> aici </a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/managing-hierarchical-data-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to write a PDF from PHP with a custom font and encoding</title>
		<link>http://www.evolua.ro/how-to-write-a-pdf-from-php-with-a-custom-font-and-encoding/</link>
		<comments>http://www.evolua.ro/how-to-write-a-pdf-from-php-with-a-custom-font-and-encoding/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 08:06:41 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=296</guid>
		<description><![CDATA[TCPDF is an Open Source PHP class for generating PDF documents. It continues where FPDF stopped, and contains all its goodies plus support of UTF-8 Unicode and Right-To-Left languages! Especially the missing UTF-8 Unicode support in FPDF is a problem for everyone living outside the English language only countries. * Go to www.tcpdf.org and download [...]]]></description>
			<content:encoded><![CDATA[<p>TCPDF is an Open Source PHP class for generating PDF documents. It continues where FPDF stopped, and contains all its goodies plus support of UTF-8 Unicode and Right-To-Left languages! Especially the missing UTF-8 Unicode support in FPDF is a problem for everyone living outside the English language only countries.</p>
<p>* Go to <a href="http://www.tcpdf.org" target="_blank">www.tcpdf.org</a>  and download the latest version of TCPDF.</p>
<h2>Main Features:</h2>
<p>    * no external libraries are required for the basic functions;<br />
    * all ISO page formats, custom page formats, custom margins and units of measure;<br />
    * UTF-8 Unicode and Right-To-Left languages;<br />
    * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;<br />
    * methods to publish some XHTML code, Javascript and Forms;<br />
    * images, graphic (geometric figures) and transformation methods;<br />
    * 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index &#8211; Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;<br />
    * Grayscale, RGB, CMYK, Spot Colors and Transparencies;<br />
    * automatic page header and footer management;<br />
    * document encryption and digital signature certifications;<br />
    * transactions to UNDO commands;<br />
    * PDF annotations, including links, text and file attachments;<br />
    * text rendering modes (fill, stroke and clipping);<br />
    * multiple columns mode;<br />
    * bookmarks and table of content;<br />
    * text hyphenation;<br />
    * automatic page break, line break and text alignments including justification;<br />
    * automatic page numbering and page groups;<br />
    * move and delete pages;<br />
    * page compression.</p>
<h3>Check the default <a href="http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf_examples"  target="_blank">TCPDF Examples</a>. </h3>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/how-to-write-a-pdf-from-php-with-a-custom-font-and-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doi roboti</title>
		<link>http://www.evolua.ro/doi-roboti/</link>
		<comments>http://www.evolua.ro/doi-roboti/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 12:42:47 +0000</pubDate>
		<dc:creator>ionutt</dc:creator>
				<category><![CDATA[Probleme]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=292</guid>
		<description><![CDATA[Ai doi roboti care cad cu parasuta pe o axa orizontala infinita Robotii cad la distanta d unul de altul si sunt pe parasauta cocotati Tu trebuie sa scrii un program care se executa simultan pe cei doi roboti si ai urmatoarele intructiuni gl = go left gr = go right if(parasuta) do something go [...]]]></description>
			<content:encoded><![CDATA[<p>Ai doi roboti care cad cu parasuta pe o axa orizontala infinita Robotii cad la distanta d unul de altul si sunt pe parasauta cocotati Tu trebuie sa scrii un program care se executa simultan pe cei doi roboti si ai urmatoarele intructiuni<br />
gl = go left<br />
gr = go right<br />
if(parasuta) do something<br />
go to linie</p>
<p>Trebuie sa scrii un program care sa faca ca robotii sa se intilneasca cumva if(parasuta) = daca sunt cocotat pe parasuta<br />
Fiecare instructiune dureaza un ciclu ca sa se execute. Momentul cand incep robotii sa execute programul tau:<br />
O                       O<br />
|                |<br />
x                         x<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/doi-roboti/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>autologarea in wiki</title>
		<link>http://www.evolua.ro/autologarea-in-wiki/</link>
		<comments>http://www.evolua.ro/autologarea-in-wiki/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 12:08:47 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=289</guid>
		<description><![CDATA[Pentru a loga in aplicatia wiki fara a intra in pagina de login, din alta aplicatia trebuie setat cookie cu username si parola care exista in wiki, si path URL catre wiki. ex: $expire = time() + 30*24*60*60; $credentials = serialize(array(&#8220;test&#8221;,&#8221;test&#8221;)); setcookie(&#8220;gloobal_user&#8221;, $credentials, $expire, &#8220;/wiki/&#8221;); in pagina \inc\auth.php functia auth_login dupa instructiunea list($user,$sticky,$pass) = auth_getCookie(); [...]]]></description>
			<content:encoded><![CDATA[<p>Pentru a loga in aplicatia wiki fara a intra in pagina de login, din alta aplicatia trebuie setat cookie cu username si parola care exista in wiki, si <b>path</b> URL catre wiki.</p>
<p>ex:<br />
 $expire = time() + 30*24*60*60;<br />
 $credentials = serialize(array(&#8220;test&#8221;,&#8221;test&#8221;));<br />
 <b>setcookie(&#8220;gloobal_user&#8221;, $credentials, $expire, &#8220;/wiki/&#8221;);</b></p>
<p>in pagina \inc\auth.php<br />
functia <strong>auth_login</strong></p>
<p>dupa instructiunea  <b>list($user,$sticky,$pass) = auth_getCookie();</b><br />
citim din cookie  username si parola utilizatorului care exista deja in wiki</p>
<p>$credentials = unserialize(str_replace(&#8220;\\&#8221;,&#8221;",$_COOKIE["gloobal_user"]));<br />
$user = $credentials[0];<br />
$pass = PMA_blowfish_encrypt($credentials[1],auth_cookiesalt());</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/autologarea-in-wiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade Apple iPOD Touch 1G from 1.1.5 to Firmware 2.2.1</title>
		<link>http://www.evolua.ro/upgrade-apple-ipod-touch-1g-from-115-to-firmware-221/</link>
		<comments>http://www.evolua.ro/upgrade-apple-ipod-touch-1g-from-115-to-firmware-221/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 12:47:28 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[ipod touch]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=282</guid>
		<description><![CDATA[Daca aveti un Apple iPod Touch mai vechi (prima generatie), care au 1.xx versiunea de firmware ca sa puteti face upgrade la Firmware 2.xx este necesar sa platiti o taxa de 9.95$, prin intermediul iTunes Store, dar &#8230;&#8230;&#8230;mai exista o varianta . Atentie! update-ul va sterge toate datele de pe ipod-ul dvs. 1. Descarcati si [...]]]></description>
			<content:encoded><![CDATA[<p>Daca aveti un Apple iPod Touch mai vechi (prima generatie), care au 1.xx versiunea de firmware ca sa puteti face upgrade la Firmware 2.xx este necesar sa platiti o taxa de 9.95$, prin intermediul iTunes Store, dar &#8230;&#8230;&#8230;mai exista o varianta <img src='http://www.evolua.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p><strong>Atentie! </strong>update-ul va sterge toate datele de pe ipod-ul dvs.</p>
<p>1. Descarcati si instalati cea mai recenta versiune de iTunes.<br />
2. Descarcati si salvati iPod Touch Firmware iPod1,1_2.0_5A347_Restore.ipsw (aici gasiti cam toate firmware-urile http://www.felixbruns.de/iPod/firmware/ ).<br />
3. Conecteaza iPod touch la calculator si lanseaza iTunes, versiunea dvs. de firmware va fi afisata in feastra de iTunes.<br />
4. Cu Shift+butonul restore selectati versiunea salvata anterior, si da-ti open.<br />
5. iTunes va porni procesul de restore.<br />
6. Nu deconectati în timp ce iTunes face restore aparatului dvs. iTunes va reporni aparatul dvs si noua versiune de firmware va fi afisata in iTunes cat si in meniul Settings-General-About.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/upgrade-apple-ipod-touch-1g-from-115-to-firmware-221/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security: PHP sanitizing values &#8230; cleaning inputs</title>
		<link>http://www.evolua.ro/security-php-sanitizing-values-cleaning-inputs/</link>
		<comments>http://www.evolua.ro/security-php-sanitizing-values-cleaning-inputs/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 10:09:19 +0000</pubDate>
		<dc:creator>adriant</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=280</guid>
		<description><![CDATA[Data security is important and often undervalued by designers, developers, and clients alike. Since PHP 5.2.0, data sanitization and validation has been made significantly easier with the introduction of data filtering. Today, we&#8217;re going to take a closer look at these filters, how to use them, and build a few custom functions. Source : here]]></description>
			<content:encoded><![CDATA[<p>Data security is important and often undervalued by designers, developers, and clients alike. Since PHP 5.2.0, data sanitization and validation has been made significantly easier with the introduction of data filtering. Today, we&#8217;re going to take a closer look at these filters, how to use them, and build a few custom functions.</p>
<p>Source : <a href="http://net.tutsplus.com/tutorials/php/getting-clean-with-php/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/security-php-sanitizing-values-cleaning-inputs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security : crypter class&#8230;.the easy way</title>
		<link>http://www.evolua.ro/security-crypter-classthe-easy-way/</link>
		<comments>http://www.evolua.ro/security-crypter-classthe-easy-way/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 10:05:46 +0000</pubDate>
		<dc:creator>adriant</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=277</guid>
		<description><![CDATA[In this article I will explain how to create a PHP Class that will encrypt and decrypt any data with a given password. It is object programmed and uses existing PHP algorithms. Excerpt : Think about what we might need a class like this for? We want to encrypt important data with a password for [...]]]></description>
			<content:encoded><![CDATA[<p>In this article I will explain how to create a PHP Class that will encrypt and decrypt any data with a given password. It is object programmed and uses existing PHP algorithms.</p>
<p>Excerpt : </p>
<blockquote><p>
Think about what we might need a class like this for? We want to encrypt important data with a password for security reasons. We also want, as already mentioned, to be able to decrypt that data when necessary. Why should you use symmetric algorithms? It&#8217;s easy; when you&#8217;re offering a password sent via email or something like that, you need the password to be sent in plaintext. The hash algorithms are not reversible. Once you have hashed a string you can&#8217;t decipher the original text from the hash. </p></blockquote>
<p>Source : <a href="http://net.tutsplus.com/tutorials/php/creating-a-crypter-class/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/security-crypter-classthe-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security: Locking down websites &#8211; simplest way</title>
		<link>http://www.evolua.ro/security-locking-down-websites-simplest-way/</link>
		<comments>http://www.evolua.ro/security-locking-down-websites-simplest-way/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 10:03:54 +0000</pubDate>
		<dc:creator>adriant</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=275</guid>
		<description><![CDATA[One crucial part of PHP development practice is always keeping in mind that security is not something you can simply buy off the shelf at your local convenient store. Ensuring the security of your web applications is a process, which over time, needs to be constantly evaluated, monitored, and hardened. Source : here]]></description>
			<content:encoded><![CDATA[<p>One crucial part of PHP development practice is always keeping in mind that security is not something you can simply buy off the shelf at your local convenient store. Ensuring the security of your web applications is a process, which over time, needs to be constantly evaluated, monitored, and hardened.</p>
<p>Source : <a href="http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/security-locking-down-websites-simplest-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning cURL</title>
		<link>http://www.evolua.ro/learning-curl/</link>
		<comments>http://www.evolua.ro/learning-curl/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 10:02:32 +0000</pubDate>
		<dc:creator>adriant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=273</guid>
		<description><![CDATA[cURL is a tool for transferring files and data with URL syntax, supporting many protocols including HTTP, FTP, TELNET and more. Initially, cURL was designed to be a command line tool. Lucky for us, the cURL library is also supported by PHP. In this article, we will look at some of the advanced features of [...]]]></description>
			<content:encoded><![CDATA[<p>cURL is a tool for transferring files and data with URL syntax, supporting many protocols including HTTP, FTP, TELNET and more. Initially, cURL was designed to be a command line tool. Lucky for us, the cURL library is also supported by PHP. In this article, we will look at some of the advanced features of cURL, and how we can use them in our PHP scripts.</p>
<p>Source :<a href="http://net.tutsplus.com/tutorials/php/techniques-and-resources-for-mastering-curl/"> here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/learning-curl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CURL &#8211; citirea caracterelor speciale</title>
		<link>http://www.evolua.ro/curl-citirea-caracterelor-speciale/</link>
		<comments>http://www.evolua.ro/curl-citirea-caracterelor-speciale/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 14:12:35 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=270</guid>
		<description><![CDATA[Mai intai setam header pentru formatul UTF-8 $headers[] = 'Connection: Keep-Alive'; $headers[] = 'Content-type: application/x-www-form-urlencoded'; $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'; $headers[] = 'Accept-Charset: utf-8;'; $headers[] = 'Keep-Alive: 300'; dupa setarea aray-ului cu header-ele, acesta trebuie integrat in CURL $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,'http://www.google.ro/search?&#038;q='.urlencode($val['keywords'])); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookieFilenameLogin); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookieFilenameLogin); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT [...]]]></description>
			<content:encoded><![CDATA[<p>Mai intai setam header pentru formatul UTF-8</p>
<pre>
$headers[] = 'Connection: Keep-Alive';
$headers[] = 'Content-type: application/x-www-form-urlencoded';
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Accept-Charset: utf-8;';
$headers[] = 'Keep-Alive: 300';
</pre>
<p>dupa setarea aray-ului cu header-ele, acesta trebuie integrat in CURL</p>
<pre>
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,'http://www.google.ro/search?&#038;q='.urlencode($val['keywords']));
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookieFilenameLogin);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookieFilenameLogin);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true );
curl_setopt($ch, CURLOPT_HEADER,0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate');
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
$data = curl_exec($ch);
curl_close($ch);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/curl-citirea-caracterelor-speciale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

