<?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>voiciXs notes &#187; php</title>
	<atom:link href="http://voicixs.com/archives/category/web/php/feed" rel="self" type="application/rss+xml" />
	<link>http://voicixs.com</link>
	<description></description>
	<lastBuildDate>Wed, 26 May 2010 08:49:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adminer</title>
		<link>http://voicixs.com/archives/368</link>
		<comments>http://voicixs.com/archives/368#comments</comments>
		<pubDate>Thu, 03 Sep 2009 07:06:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogroll]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=368</guid>
		<description><![CDATA[
Adminer (formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server

http://www.adminer.org/en/

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.adminer.org/en/"><img class="size-full wp-image-369" title="Adminer" src="http://voicixs.com/wp-content/uploads/2009/09/adminer.jpg" alt="Adminer" width="351" height="70" /></a></p>
<p>Adminer (formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server</p>
<ul>
<li style="text-align: left;"><a href="http://www.adminer.org/en/">http://www.adminer.org/en/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/368/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WinBinder</title>
		<link>http://voicixs.com/archives/362</link>
		<comments>http://voicixs.com/archives/362#comments</comments>
		<pubDate>Thu, 27 Aug 2009 15:09:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogroll]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=362</guid>
		<description><![CDATA[WinBinder is a new open source extension for PHP, the script programming language. It allows PHP programmers to easily build native Windows applications.

http://winbinder.org/

]]></description>
			<content:encoded><![CDATA[<p><a href="http://winbinder.org/"><img class="alignleft size-full wp-image-361" title="Winbinder" src="http://voicixs.com/wp-content/uploads/2009/08/winbinder.gif" alt="Winbinder" width="226" height="77" /></a>WinBinder is a new open source extension for PHP, the script programming language. It allows PHP programmers to easily build native Windows applications.</p>
<ul>
<li><a href="http://winbinder.org/">http://winbinder.org/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/362/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get visitors IP</title>
		<link>http://voicixs.com/archives/338</link>
		<comments>http://voicixs.com/archives/338#comments</comments>
		<pubDate>Fri, 05 Jun 2009 07:18:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[ip]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=338</guid>
		<description><![CDATA[&#160; &#160; $ip = $_SERVER&#91;&#39;REMOTE_ADDR&#39;&#93;;
]]></description>
			<content:encoded><![CDATA[<div class="geshi no php">&nbsp; &nbsp; <span class="re1">$ip</span> <span class="sy0">=</span> <span class="re1">$_SERVER</span><span class="br0">&#91;</span><span class="st0">&#39;REMOTE_ADDR&#39;</span><span class="br0">&#93;</span><span class="sy0">;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/338/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql_insert_id</title>
		<link>http://voicixs.com/archives/332</link>
		<comments>http://voicixs.com/archives/332#comments</comments>
		<pubDate>Thu, 04 Jun 2009 12:51:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogroll]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=332</guid>
		<description><![CDATA[&#160; &#160; &#160; &#160;mysql_insert_id&#40;&#41;
http://php.net/manual/en/function.mysql-insert-id.php
]]></description>
			<content:encoded><![CDATA[<div class="geshi no php">&nbsp; &nbsp; &nbsp; &nbsp;<span class="kw3">mysql_insert_id</span><span class="br0">&#40;</span><span class="br0">&#41;</span></div>
<p><a href="http://php.net/manual/en/function.mysql-insert-id.php">http://php.net/manual/en/function.mysql-insert-id.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/332/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql_affected_rows</title>
		<link>http://voicixs.com/archives/328</link>
		<comments>http://voicixs.com/archives/328#comments</comments>
		<pubDate>Thu, 04 Jun 2009 12:47:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogroll]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=328</guid>
		<description><![CDATA[&#160; &#160; &#160; &#160;mysql_affected_rows&#40;&#41;
http://php.net/manual/en/function.mysql-affected-rows.php
]]></description>
			<content:encoded><![CDATA[<div class="geshi no php">&nbsp; &nbsp; &nbsp; &nbsp;<span class="kw3">mysql_affected_rows</span><span class="br0">&#40;</span><span class="br0">&#41;</span></div>
<p><a href="http://php.net/manual/en/function.mysql-affected-rows.php">http://php.net/manual/en/function.mysql-affected-rows.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/328/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ternary operators</title>
		<link>http://voicixs.com/archives/84</link>
		<comments>http://voicixs.com/archives/84#comments</comments>
		<pubDate>Thu, 28 May 2009 11:12:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[ternary]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=84</guid>
		<description><![CDATA[&#60;?
&#160; &#160;echo &#40;$a == 0 ? &#34;zero&#34; : &#34;not zero&#34;&#41;;
?&#62;
http://php.net/ternary
]]></description>
			<content:encoded><![CDATA[<div class="geshi no php"><span class="kw2">&lt;?</span><br />
&nbsp; &nbsp;<span class="kw3">echo</span> <span class="br0">&#40;</span><span class="re1">$a</span> <span class="sy0">==</span> <span class="nu0">0</span> ? <span class="st0">&quot;zero&quot;</span> <span class="sy0">:</span> <span class="st0">&quot;not zero&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="kw2">?&gt;</span></div>
<blockquote><p><a href="http://php.net/ternary">http://php.net/ternary</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Variable Variables in php</title>
		<link>http://voicixs.com/archives/75</link>
		<comments>http://voicixs.com/archives/75#comments</comments>
		<pubDate>Thu, 28 May 2009 11:02:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Variables]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=75</guid>
		<description><![CDATA[&#60;?php
&#160;$PK = &#34;PrimaryID&#34;;
&#160;$$PK = &#34;100034&#34;;
&#160;echo $PrimaryID; // 100034
&#160;echo $$PK;             // 100034
?&#62;
]]></description>
			<content:encoded><![CDATA[<div class="geshi no php"><span class="kw2">&lt;?php</span><br />
&nbsp;<span class="re1">$PK</span> <span class="sy0">=</span> <span class="st0">&quot;PrimaryID&quot;</span><span class="sy0">;</span><br />
&nbsp;<span class="re1">$$PK</span> <span class="sy0">=</span> <span class="st0">&quot;100034&quot;</span><span class="sy0">;</span><br />
&nbsp;<span class="kw3">echo</span> <span class="re1">$PrimaryID</span><span class="sy0">;</span> <span class="co1">// 100034</span><br />
&nbsp;<span class="kw3">echo</span> <span class="re1">$$PK</span><span class="sy0">;</span>             <span class="co1">// 100034</span><br />
<span class="kw2">?&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/75/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defining Constants in PHP</title>
		<link>http://voicixs.com/archives/69</link>
		<comments>http://voicixs.com/archives/69#comments</comments>
		<pubDate>Thu, 28 May 2009 10:54:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[constants]]></category>
		<category><![CDATA[tada type]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=69</guid>
		<description><![CDATA[&#60;?
&#160; define&#40;&#34;VERSION&#34;, 2&#41;;
&#160; echo &#34;Current version is &#34; . VERSION;
?&#62;
]]></description>
			<content:encoded><![CDATA[<div class="geshi no php"><span class="kw2">&lt;?</span><br />
&nbsp; <span class="kw3">define</span><span class="br0">&#40;</span><span class="st0">&quot;VERSION&quot;</span><span class="sy0">,</span> <span class="nu0">2</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Current version is &quot;</span> <span class="sy0">.</span> VERSION<span class="sy0">;</span><br />
<span class="kw2">?&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/69/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>$PHP_AUTH_PW, $PHP_AUTH_USER</title>
		<link>http://voicixs.com/archives/64</link>
		<comments>http://voicixs.com/archives/64#comments</comments>
		<pubDate>Fri, 27 Jul 2007 10:07:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP_AUTH_PW]]></category>
		<category><![CDATA[PHP_AUTH_USER]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=64</guid>
		<description><![CDATA[&#60;?
$USERNAME=&#34;user&#34;;
$PASSWORD=&#34;test&#34;;
if &#40;$PHP_AUTH_PW!=$PASSWORD &#124;&#124; $PHP_AUTH_USER!=$USERNAME&#41;&#123;
&#160; &#160; &#160; &#160; header&#40;&#39;WWW-Authenticate: Basic realm=&#34;secure content&#34;&#39;&#41;;
&#160; &#160; &#160; &#160; header&#40;&#39;HTTP/1.0 401 Unauthorized&#39;&#41;;
&#160; &#160; &#160; &#160; echo &#34;Unauthorized&#34;;
&#160; &#160; &#160; &#160; exit;
&#125;
?&#62;
]]></description>
			<content:encoded><![CDATA[<div class="geshi no php"><span class="kw2">&lt;?</span><br />
<span class="re1">$USERNAME</span><span class="sy0">=</span><span class="st0">&quot;user&quot;</span><span class="sy0">;</span><br />
<span class="re1">$PASSWORD</span><span class="sy0">=</span><span class="st0">&quot;test&quot;</span><span class="sy0">;</span></p>
<p><span class="kw1">if</span> <span class="br0">&#40;</span><span class="re1">$PHP_AUTH_PW</span><span class="sy0">!=</span><span class="re1">$PASSWORD</span> <span class="sy0">||</span> <span class="re1">$PHP_AUTH_USER</span><span class="sy0">!=</span><span class="re1">$USERNAME</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&#39;WWW-Authenticate: Basic realm=&quot;secure content&quot;&#39;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&#39;HTTP/1.0 401 Unauthorized&#39;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Unauthorized&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">exit</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span><br />
<span class="kw2">?&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>simple page config</title>
		<link>http://voicixs.com/archives/52</link>
		<comments>http://voicixs.com/archives/52#comments</comments>
		<pubDate>Tue, 24 Jul 2007 09:59:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://voicixs.com/?p=52</guid>
		<description><![CDATA[&#60;?
&#160; &#160;switch &#40;$id&#41; &#123; 
&#160; &#160; case &#34;1&#34;: 
&#160; &#160; &#160; $caption = &#34;Caption 1&#34;;
&#160; &#160; &#160; $content = &#34;Content 1&#34;;
&#160; &#160; break; 
&#160; &#160; case &#34;2&#34;: 
&#160; &#160; &#160; $caption = &#34;Caption 2&#34;;
&#160; &#160; &#160; $content = &#34;Content 2&#34;;
&#160; &#160; break; &#160; &#160; &#160; &#160; &#160;
&#160; &#160; &#160; &#160; &#160;
&#160; &#160; default: 
&#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="geshi no php"><span class="kw2">&lt;?</span><br />
&nbsp; &nbsp;<span class="kw1">switch</span> <span class="br0">&#40;</span><span class="re1">$id</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> <br />
&nbsp; &nbsp; <span class="kw1">case</span> <span class="st0">&quot;1&quot;</span><span class="sy0">:</span> <br />
&nbsp; &nbsp; &nbsp; <span class="re1">$caption</span> <span class="sy0">=</span> <span class="st0">&quot;Caption 1&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; <span class="re1">$content</span> <span class="sy0">=</span> <span class="st0">&quot;Content 1&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw1">break</span><span class="sy0">;</span> </p>
<p>&nbsp; &nbsp; <span class="kw1">case</span> <span class="st0">&quot;2&quot;</span><span class="sy0">:</span> <br />
&nbsp; &nbsp; &nbsp; <span class="re1">$caption</span> <span class="sy0">=</span> <span class="st0">&quot;Caption 2&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; <span class="re1">$content</span> <span class="sy0">=</span> <span class="st0">&quot;Content 2&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw1">break</span><span class="sy0">;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw2">default</span><span class="sy0">:</span> <br />
&nbsp; &nbsp; &nbsp; <span class="re1">$caption</span> <span class="sy0">=</span> <span class="st0">&quot;Default caption&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; <span class="re1">$content</span> <span class="sy0">=</span> <span class="st0">&quot;Default content&quot;</span><span class="sy0">;</span> <br />
&nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <br />
<span class="kw2">?&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://voicixs.com/archives/52/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
