<?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"
	>

<channel>
	<title>Bogdan Lungu</title>
	<atom:link href="http://www.bogdan-net.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bogdan-net.com</link>
	<description>Internet and Web Development</description>
	<pubDate>Wed, 02 Apr 2008 12:15:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Upgraded to Wordpress 2.5</title>
		<link>http://www.bogdan-net.com/archives/39</link>
		<comments>http://www.bogdan-net.com/archives/39#comments</comments>
		<pubDate>Wed, 02 Apr 2008 12:15:24 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[blog]]></category>

		<category><![CDATA[blogging]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[upgrade]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/?p=39</guid>
		<description><![CDATA[Yesterday I made an upgrade to my blog bringing Wordpress 2.5, I&#8217;m quite impressed about the easy way to upgrade. The admin panel is very well &#8220;drawn&#8221; making things more clear and easier. The last admin was a little to cluttered and colorful in my case to much blue. 2.5 version represents 6 month of [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I made an upgrade to my blog bringing <a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/">Wordpress 2.5</a>, I&#8217;m quite impressed about the easy way to upgrade. The admin panel is very well &#8220;drawn&#8221; making things more clear and easier. The last admin was a little to cluttered and colorful in my case to much blue. 2.5 version represents 6 month of work from the WP community and brings lot&#8217;s of improvements as I saw far now.<br />
One of the improvement is the top right bar from WYSIWYG editor with media features like: add video, add audio or add media.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/39/feed</wfw:commentRss>
		</item>
		<item>
		<title>Back on my blog</title>
		<link>http://www.bogdan-net.com/archives/38</link>
		<comments>http://www.bogdan-net.com/archives/38#comments</comments>
		<pubDate>Mon, 31 Mar 2008 21:16:32 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/38</guid>
		<description><![CDATA[Hi people,
I&#8217;m back on my blog after a long absence, being busy and let&#8217;s admit sometimes lazy to write any post. First of all Wordpress 2.5 is here and I want to upgrade the blog asap.
I need to search a way to get ridd of the houndreds of spam messages that are bombarding me daily [...]]]></description>
			<content:encoded><![CDATA[<p>Hi people,<br />
I&#8217;m back on my blog after a long absence, being busy and let&#8217;s admit sometimes lazy to write any post. First of all Wordpress 2.5 is here and I want to upgrade the blog asap.<br />
I need to search a way to get ridd of the houndreds of spam messages that are bombarding me daily and least but not last I prepare a new orginal theme for this blog, this one being &#8220;taken&#8221; and modified for my needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/38/feed</wfw:commentRss>
		</item>
		<item>
		<title>Merry Christmas and Happy Holidays</title>
		<link>http://www.bogdan-net.com/archives/37</link>
		<comments>http://www.bogdan-net.com/archives/37#comments</comments>
		<pubDate>Mon, 24 Dec 2007 20:36:13 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/37</guid>
		<description><![CDATA[Holidays are here, a moment of joy and good time for all of us in the middle of friends and family. I wish Happy Holidays and Merry Christmas to everyone and if this will be the last post of this year, I also say: Happy New Year!
]]></description>
			<content:encoded><![CDATA[<p>Holidays are here, a moment of joy and good time for all of us in the middle of friends and family. I wish Happy Holidays and Merry Christmas to everyone and if this will be the last post of this year, I also say: Happy New Year!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/37/feed</wfw:commentRss>
		</item>
		<item>
		<title>Generate a unique string in PHP</title>
		<link>http://www.bogdan-net.com/archives/36</link>
		<comments>http://www.bogdan-net.com/archives/36#comments</comments>
		<pubDate>Wed, 12 Dec 2007 20:29:53 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/36</guid>
		<description><![CDATA[Here is an example of generating a unique string in PHP very useful in some cases especially when you work with large amounts of rows in a db table and you want unique and "hard to find" keys for every row.
My usual method to do this was using the  strtotime() function, with "now" as [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an example of generating a unique string in PHP very useful in some cases especially when you work with large amounts of rows in a db table and you want unique and "hard to find" keys for every row.<br />
My usual method to do this was using the  strtotime() function, with "now" as the argument and to the result I was applying the md5() to get  a random unique id. The result is fine until you run the script more then 1 time in a second when you get the same string. Here is the new way I do to get a real unique ID not depending on time: </p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showCodeTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">function unique_id<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$better_token = md5<span style="color:#006600; font-weight:bold;">&#40;</span>uniqid<span style="color:#006600; font-weight:bold;">&#40;</span>rand<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>, true<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$unique_code = substr<span style="color:#006600; font-weight:bold;">&#40;</span>$better_token, <span style="color:#800000;color:#800000;">16</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$uniqueid = $unique_code;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">return $uniqueid;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$id = unique_id<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo $id; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
This time I use the rand() and uniqid() functions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/36/feed</wfw:commentRss>
		</item>
		<item>
		<title>Got 12000+ downloads on sxc.hu</title>
		<link>http://www.bogdan-net.com/archives/35</link>
		<comments>http://www.bogdan-net.com/archives/35#comments</comments>
		<pubDate>Sun, 09 Sep 2007 18:36:02 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[Free Photos]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/35</guid>
		<description><![CDATA[My photos posted on sxc.hu received more then 12 000 downloads in less then a year. I have only 15 photos posted taken by me an almost an year ago, a single photo received more then 4 000+ downloads (that means much I think).
Take a look to my profile and download from there if you [...]]]></description>
			<content:encoded><![CDATA[<p>My photos posted on sxc.hu received more then 12 000 downloads in less then a year. I have only 15 photos posted taken by me an almost an year ago, a single photo received more then 4 000+ downloads (that means much I think).<br />
Take a look to <a href="http://www.sxc.hu/profile/lbogdan">my profile</a> and download from there if you find something interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/35/feed</wfw:commentRss>
		</item>
		<item>
		<title>Still alive</title>
		<link>http://www.bogdan-net.com/archives/34</link>
		<comments>http://www.bogdan-net.com/archives/34#comments</comments>
		<pubDate>Sun, 09 Sep 2007 18:27:37 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/34</guid>
		<description><![CDATA[Hi to everyone, I know it passed a lot of time since I wrote something but I was busy meanwhile and I ignored completely my blog. I announce everyone that I'm ok and healthy and in few days some new post will appear, I have also in mind to go deeper with cakephp study and [...]]]></description>
			<content:encoded><![CDATA[<p>Hi to everyone, I know it passed a lot of time since I wrote something but I was busy meanwhile and I ignored completely my blog. I announce everyone that I'm ok and healthy and in few days some new post will appear, I have also in mind to go deeper with cakephp study and to write some nice examples and posts about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/34/feed</wfw:commentRss>
		</item>
		<item>
		<title>Valid XHTML 1.0 Strict pages with flash on them</title>
		<link>http://www.bogdan-net.com/archives/33</link>
		<comments>http://www.bogdan-net.com/archives/33#comments</comments>
		<pubDate>Mon, 16 Jul 2007 20:31:56 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Xhtml/CSS]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/33</guid>
		<description><![CDATA[Everyone knows there is a problem in having a valid XHTML 1.0 strict page when you want to use some flash on it. In another post I described how this can be done but unfortunately that thing wasn't complying with the XHTML 1.0 strict instead was fine for the pages validating using the Transitional Standard [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone knows there is a problem in having a valid XHTML 1.0 strict page when you want to use some flash on it. In <a href="http://www.bogdan-net.com/archives/8">another post</a> I described how this can be done but unfortunately that thing wasn't complying with the XHTML 1.0 strict instead was fine for the pages validating using the Transitional Standard of W3C XHTML specifications.<br />
Now I came back on this subject with a solution that fix the "Strict" problem, for this I appealed to a little help from Javascript using the getElemementById method.<br />
To insert a flash code in a web page according to the adobe specification you have to use a code almost similar with this one:</p>
<div class="igBar"><span id="lcode-6"><a href="#" onclick="javascript:showCodeTxt('code-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-6">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;object classid=<span style="color:#CC0000;">"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"</span> codebase=<span style="color:#CC0000;">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"</span> width=<span style="color:#CC0000;">"590"</span> height=<span style="color:#CC0000;">"400"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;param name=<span style="color:#CC0000;">"movie"</span> value=<span style="color:#CC0000;">"swf/flash.swf"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;param name=<span style="color:#CC0000;">"quality"</span> value=<span style="color:#CC0000;">"high"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;embed src=<span style="color:#CC0000;">"swf/flash.swf"</span> quality=<span style="color:#CC0000;">"high"</span> pluginspage=<span style="color:#CC0000;">"http://www.macromedia.com/go/getflashplayer"</span> type=<span style="color:#CC0000;">"application/x-shockwave-flash"</span> width=<span style="color:#CC0000;">"590"</span> height=<span style="color:#CC0000;">"400"</span>&gt;&lt;/embed&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &lt;/object&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Above code will insert an flash movie with the width of 590 and the height of 400, the flash movie is called flash.swf and it is situated in the swf directory. This code will cause some errors (I will not tell you here which) and the page fails to validate.<br />
My method is to remove all the flash code from the page and to insert it using a small external javascript file.<br />
The javascript file we will call it flash.js and place it in the /js directory inside the site root and should have the following content: </p>
<div class="igBar"><span id="lcode-7"><a href="#" onclick="javascript:showCodeTxt('code-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-7">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">function flash<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">document.<span style="">getElementById</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">'flash'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="">innerHTML</span> = <span style="color:#CC0000;">"&lt;object width=<span style="color:#000099; font-weight:bold;">\"</span>590<span style="color:#000099; font-weight:bold;">\"</span> height=<span style="color:#000099; font-weight:bold;">\"</span>400<span style="color:#000099; font-weight:bold;">\"</span> codebase=<span style="color:#000099; font-weight:bold;">\"</span>http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0<span style="color:#000099; font-weight:bold;">\"</span> classid=<span style="color:#000099; font-weight:bold;">\"</span>clsid:D27CDB6E-AE6D-11cf-96B8-444553540000<span style="color:#000099; font-weight:bold;">\"</span>&gt;&lt;param value=<span style="color:#000099; font-weight:bold;">\"</span>swf/flash.swf<span style="color:#000099; font-weight:bold;">\"</span> name=<span style="color:#000099; font-weight:bold;">\"</span>movie<span style="color:#000099; font-weight:bold;">\"</span>/&gt;&lt;param value=<span style="color:#000099; font-weight:bold;">\"</span>high<span style="color:#000099; font-weight:bold;">\"</span> name=<span style="color:#000099; font-weight:bold;">\"</span>quality<span style="color:#000099; font-weight:bold;">\"</span>/&gt;&lt;embed width=<span style="color:#000099; font-weight:bold;">\"</span>590<span style="color:#000099; font-weight:bold;">\"</span> height=<span style="color:#000099; font-weight:bold;">\"</span>400<span style="color:#000099; font-weight:bold;">\"</span> type=<span style="color:#000099; font-weight:bold;">\"</span>application/x-shockwave-flash<span style="color:#000099; font-weight:bold;">\"</span> pluginspage=<span style="color:#000099; font-weight:bold;">\"</span>http://www.macromedia.com/go/getflashplayer<span style="color:#000099; font-weight:bold;">\"</span> quality=<span style="color:#000099; font-weight:bold;">\"</span>high<span style="color:#000099; font-weight:bold;">\"</span> src=<span style="color:#000099; font-weight:bold;">\"</span>swf/flash.swf<span style="color:#000099; font-weight:bold;">\"</span>/&gt;&lt;/object&gt;"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Be careful to write all this code on a single line because it is a string and a string in javascript can't be stretched on multiple lines.  As you see we are using the document.getElementById('flash').innerHTML method to write some content on a div with the id flash. The page should have the following code:</p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showCodeTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!DOCTYPE html PUBLIC <span style="color:#CC0000;">"-//W3C//DTD XHTML 1.0 Strict//EN"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;html&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;head&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;title&gt;Insert valid Flash in XHML <span style="color:#800000;color:#800000;">1</span>.<span style="color:#800000;color:#800000;">0</span> Strict&lt;/title&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script type=<span style="color:#CC0000;">"text/javascript"</span> src=<span style="color:#CC0000;">"js/flash.js"</span>&gt;&nbsp; &nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/script&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;style type=<span style="color:#CC0000;">"text/css"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#flash <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">width: 590px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">height: 400px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">background-color: #777;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/style&gt; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/head&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;body onload=<span style="color:#CC0000;">"flash()"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;h1&gt;Insert flash animation using javascript&lt;/h1&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#CC0000;">"flash"</span>&gt;&lt;/div&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/body&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/html&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p> <br />
The result will  display a valid page with a flash on it. As you see we include the javascript external file and we load the flash() function from it using the body event onload. The flash code is not displayed and everything we have at View source is the empty div.<br />
That's all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/33/feed</wfw:commentRss>
		</item>
		<item>
		<title>The Twelve Days of Scaleout</title>
		<link>http://www.bogdan-net.com/archives/32</link>
		<comments>http://www.bogdan-net.com/archives/32#comments</comments>
		<pubDate>Sat, 16 Jun 2007 10:57:32 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/32</guid>
		<description><![CDATA[On the MySQL website can be found some articles posted under the name of: "The Twelve Days of Scaleout", this articles talks about success stories at clients which are using MySQL services. In this articles you can find  case studies on website and services like: Wikipedia (the world largest online encyclopedia), Zimbra (a leader [...]]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://www.mysql.com/news-and-events/" target="_blank">MySQL</a> website can be found some articles posted under the name of: "The Twelve Days of Scaleout", this articles talks about success stories at clients which are using MySQL services. In this articles you can find  case studies on website and services like: <a href="http://www.wikpedia.org" target="_blank">Wikipedia</a> (the world largest online encyclopedia), <a href="http://www.zimbra.com" target="_blank">Zimbra</a> (a leader in open source collaboration software), <a href="http://www.alcatel.com" target="_blank">Alcatel</a> (where MySQL implemented Cluster Carrier Edition database), ofcourse there are more case studies all of them are largely described on the MySQL website on the <a href="http://www.mysql.com/news-and-events/" target="_blank">Press Releases section</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/32/feed</wfw:commentRss>
		</item>
		<item>
		<title>Safari 3 for Windows</title>
		<link>http://www.bogdan-net.com/archives/31</link>
		<comments>http://www.bogdan-net.com/archives/31#comments</comments>
		<pubDate>Tue, 12 Jun 2007 12:22:29 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/31</guid>
		<description><![CDATA[Apple released a version of their browser Safari for Windows Xp and Vista. You can found it here and you can download it for free. Now Apple made both iTunes and Safari available for Windows. Safari 3 is a beta version, on the Apple website it's said that Safari is twice as fast as Internet [...]]]></description>
			<content:encoded><![CDATA[<p>Apple released a version of their browser Safari for Windows Xp and Vista. You can found it <a href="http://www.apple.com/safari/" target="_blank">here</a> and you can download it for free. Now Apple made both iTunes and Safari available for Windows. Safari 3 is a beta version, on the Apple website it's said that Safari is twice as fast as Internet Explorer.<br />
I download it and tested and I'm quite impressed by it, but most of the time I will remain to the Firefox 2.0 I think.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/31/feed</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP - Some controller functions</title>
		<link>http://www.bogdan-net.com/archives/30</link>
		<comments>http://www.bogdan-net.com/archives/30#comments</comments>
		<pubDate>Fri, 08 Jun 2007 19:50:03 +0000</pubDate>
		<dc:creator>Lungu Bogdan</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://www.bogdan-net.com/archives/30</guid>
		<description><![CDATA[Interacting with your views:
set($variable, $value);
string $variable;
mixed $value;
The principal use of this function is to extract data from a controller and transfer it to a view.
It can be used to transfer single values, whole arrays and so on etc. The moment you utilize set(), the variable can be accessed in your view: doing set(name, john) in [...]]]></description>
			<content:encoded><![CDATA[<p>Interacting with your views:</p>
<p>set($variable, $value);<br />
string $variable;<br />
mixed $value;</p>
<p>The principal use of this function is to extract data from a controller and transfer it to a view.<br />
It can be used to transfer single values, whole arrays and so on etc. The moment you utilize set(), the variable can be accessed in your view: doing set(name, john) in your controller makes the variable name available in the view.</p>
<p>validateErrors() - displays the number of all the errors produced by an unsuccessful save.<br />
validate() - this function is used to validate a model data respecting the rules of validation defined in to the model.</p>
<p>render($action, $layout, $file) - this function may not always be needed because render is called by default when every controller action ends, so the view specific to your action is rendered. On the other side, you can call this function to render the view anywhere in the controller code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bogdan-net.com/archives/30/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
