<?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:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6940069190000225488</atom:id><lastBuildDate>Sun, 25 Oct 2009 01:55:04 +0000</lastBuildDate><title>PHP Tutorial</title><description>you think making a website is difficult. The answer is not if you read this blog. This Article help you find answer for your questions.</description><link>http://php-base.blogspot.com/</link><managingEditor>noreply@blogger.com (bloodor)</managingEditor><generator>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/php-base" type="application/rss+xml" /><feedburner:emailServiceId>php-base</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-3152823498632952433</guid><pubDate>Tue, 20 Oct 2009 18:24:00 +0000</pubDate><atom:updated>2009-10-21T01:25:18.897+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Environment PHP</category><title>Filter text in PHP with str_replace</title><description>This trick is usually used to filter out comment or message to be displayed normally in the guest book form. For example words - words that included "bad php" after the submit it displayed "good php". Create a still hooked to the web 1.0 I'll try to share what little I know.

Perhaps this is one of the few tricks that can be used to filter out comment in php. Let us use the hassle of congenital str_replace function of php itself'll not bother to make their own functions. to consider the function is as follows str_repalce

&lt;span style="font-weight:bold;"&gt;str_replace&lt;/span&gt; (the first parameter, second parameter, the third parameter)

     * The first parameter: this is a word or phrase that will be filtered
     * The second parameter: this is a substitute word for the first part
     * The third parameter: this is a word or phrase that will be filtered&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-3152823498632952433?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/h5LJ97zA6pQ/filter-text-in-php-with-strreplace.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://php-base.blogspot.com/2009/10/filter-text-in-php-with-strreplace.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-5395091030179966893</guid><pubDate>Sat, 26 Sep 2009 09:53:00 +0000</pubDate><atom:updated>2009-09-26T16:55:49.485+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">internet</category><title>Fun Play with golf</title><description>I did not agolf professional players, but I really like the golf course. I need lots of practice to become the best Golfer. To playing golf, we must have any golf equipment. You need the stick, golf ball, and the golf scope. Thirdly it is an important component in The Game of Golf.

I want to know more about golf, as well as you. In Germany, all available. Cities in Germany a lot of golf courses. For that you must not hesitate to go there, to spend a long vacation with family and playing golf. To know about golf, you have to practice and learn. There may be many a sites in the Internet about Golf but if you want to know about &lt;a href="http://www.golfkurs-platzreife.de/platzreife/"&gt;golfkurs platzreife&lt;/a&gt;, &lt;span style="font-weight:bold;"&gt;golfkurs-platzreife.de&lt;/span&gt; is the best place for you. On this site are all available all the needs and your knowledge about golf. Of course learn by doing "make you better class. Prepare yourself to go to enjoy it all. Before leaving prepare your golf equipment. If you are new in golf, &lt;a href="http://www.golfakademie-gmbh.de/go_to.php?Mizuno "&gt;Mizuno&lt;/a&gt; becomes a good choice for you to take it to the Germans.

There do not forget to visit the beautiful lakes and cool. &lt;a href="http://www.golf-chiemsee.eu/urlaub-am-chiemsee"&gt;Urlaub Chiemsee&lt;/a&gt; is a very good choice for your vacation. Many families, couples and single travelers each year choose to spend their holidays at Lake Chiemsee. A collection of water and wind blowing into your body certainly remarkable effect to your health. Prepare yourself to go play golf in Germany, this course is very enjoyable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-5395091030179966893?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/gK5v9rKEZ7M/fun-play-ith-golf.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2009/09/fun-play-ith-golf.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-5905350061662343371</guid><pubDate>Fri, 24 Oct 2008 18:42:00 +0000</pubDate><atom:updated>2008-10-26T01:20:04.613+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Environment PHP</category><title>Self-Referencing</title><description>In the Web application often we need self referencing URL to refer path current Script. Marginally this implementation step can through 2 approach, namely &lt;span style="font-style: italic;"&gt;apply superglobal $_ SERVER and function getenv().&lt;/span&gt;

&lt;blockquote&gt;echo $_SERVER['PHP_SELF'];
echo $_SERVER['SCRIPT_NAME'];
echo $_SERVER['REQUEST_URL']
echo getenv['SCRIPT_NAME']
echo getenv['REQUEST_URL']&lt;/blockquote&gt;

Different with other element, REQUEST_URL will return query string (if founded. For applied inveterate approach is element PHP_SELF.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-5905350061662343371?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/TOW33Mutyro/self-referencing.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/self-referencing.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-6280824543328101531</guid><pubDate>Thu, 16 Oct 2008 15:54:00 +0000</pubDate><atom:updated>2008-10-16T22:57:16.815+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Array and SPL</category><title>array base technique</title><description>&lt;div style="text-align: justify;"&gt;To make easy using array, be better if we comprehend Array Base Technique must be first.
&lt;span style="font-weight: bold; font-style: italic;"&gt;Create Array&lt;/span&gt;
Array in PHP grouped to become two type, indexed and associative. Array Indexed is array who’s the key like in the form of integer, normally started from 0. Array associative used string as key. You Can Create array with two models. Number one uses language &lt;span style="font-style: italic;"&gt;construction array()&lt;/span&gt; and square bracket sintax.

&lt;blockquote&gt;$arr1 = array(‘a’,’b’,’c’);
print_r($arr1);

$arr2[] = ‘a’;
$arr2[] = ‘b’;
$arr2[] = ‘c’;

Print_r($arr2);&lt;/blockquote&gt;

Create &lt;span style="color: rgb(255, 0, 0);"&gt;array associative&lt;/span&gt; you must do that with same way. But in here you must specified of base key.

&lt;blockquote&gt;$arr3 = array(‘a’ =&gt; ‘A’, ‘b’ =&gt; ‘B’, ‘c’ =&gt; ‘C’);
print_r($arr3);

$arr4[‘a’] = ‘A’;
$arr4[‘b’] = ‘B’;
$arr4[‘c’] = ‘C’;

print_r($arr4);&lt;/blockquote&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-6280824543328101531?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/TnXgYkmp_RE/array-base-technique.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/array-base-technique.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-8763544764013877150</guid><pubDate>Thu, 16 Oct 2008 15:51:00 +0000</pubDate><atom:updated>2008-10-16T22:54:17.003+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Manipulation String</category><title>Manipulation String</title><description>&lt;div style="text-align: justify;"&gt;Operation and manipulation string is a hot topic for programmer.  But in fact, manipulation and operation coverage string very wide and do not seldom base on problem domain which faced. &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;Although&lt;/span&gt; that if you have experience about &lt;span style="font-style: italic;"&gt;fundamental base&lt;/span&gt;, we will found solution of the problem.

One correct way to starts &lt;span style="color: rgb(204, 0, 0); font-weight: bold;"&gt;operation string&lt;/span&gt; is comprehended  anatomy and also the characteristic first.

&lt;span style="font-weight: bold;"&gt;String Literal&lt;/span&gt;
String can be specified by three approach
&lt;ul&gt;&lt;li&gt;single quotation mark&lt;/li&gt;&lt;li&gt;double quotation mark&lt;/li&gt;&lt;li&gt;&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;syntax&lt;/span&gt; here document (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;heredoc&lt;/span&gt;)&lt;/li&gt;&lt;/ul&gt;
&lt;blockquote&gt;$&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;strl&lt;/span&gt; = ‘America’;
echo ‘Halo $&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;strl&lt;/span&gt;’;
echo “Halo $&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;strl&lt;/span&gt;”;

$&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;str&lt;/span&gt;2 = &lt;&lt;&lt;eoq&gt;&lt;/eoq&gt;
&lt;eoq&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;Sintaks&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;heredoc&lt;/span&gt;&lt;/eoq&gt;
&lt;eoq&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;EOQ&lt;/span&gt;;&lt;/eoq&gt;
&lt;eoq&gt;&lt;/eoq&gt;
&lt;eoq&gt;Echo $&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;str&lt;/span&gt;2;&lt;/eoq&gt;&lt;/blockquote&gt;
&lt;eoq&gt;&lt;/eoq&gt;
&lt;eoq&gt;Double quotation mark and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;heredoc&lt;/span&gt; make result variable interpolation so that both approach tend to farther out compared by single quotation mark.&lt;/eoq&gt;
&lt;eoq&gt;&lt;/eoq&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-8763544764013877150?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/TQ7aE20Jf0k/manipulation-string.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/manipulation-string.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-1888604488357665385</guid><pubDate>Thu, 16 Oct 2008 11:50:00 +0000</pubDate><atom:updated>2008-10-16T18:53:03.774+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">OOP</category><title>Class</title><description>Class is one of fundamental element OOP (Object Oriented Programming). Class can be illustrated as blueprint or prototype what is applied to create object.

Definition Class
Class name must be descriptive and better always started with block letters. Name of class better also express the position hierarchy and use underscore as hierarchy winnow.
&lt;blockquote&gt;
Form
FormUpload

//For example file location Form/Db/validator.php
Form_Db_validator&lt;/blockquote&gt;

Class is defined use apply keyword class who’s followed name of class. Definition of class consist two component, that is declaration class and body class. Declaration class is a first row in class. And minimum defined name class. Body defined after name class and between confine streamer { }

&lt;blockquote&gt;//declaration class
Class Form {

//body  class

}&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-1888604488357665385?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/45DCltcC3Ec/class.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/class.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-1944553651670138496</guid><pubDate>Mon, 13 Oct 2008 16:45:00 +0000</pubDate><atom:updated>2008-10-13T23:50:44.124+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Foundation</category><title>Consistency</title><description>Consistency often related to writing standard code program. Of course well founded because writing of consistent code make code program more easily to read and comprehended..

If variable is applied for purpose of &lt;a href="http://php-base.blogspot.com/2008/10/standard-coding.html"&gt;similar&lt;/a&gt;, better give similar name too. For example, if variable $sum is applied to express an amounts, hence you must to always wear the name. That’s mean don't give different name for purpose of similar, for example $sum, $sumer, $amount.

For usage in one block. You can declaration variable with same prefix, for example $sum_data, $sum_max, $sum_min. Though not easy to&lt;a href="http://php-base.blogspot.com/2008/10/program-code-format.html"&gt; consistency&lt;/a&gt; implementation, we must cope for minimization mistaken of naming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-1944553651670138496?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/4vktJWFnnRM/consistency.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/consistency.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-2149266889195871646</guid><pubDate>Sun, 12 Oct 2008 08:08:00 +0000</pubDate><atom:updated>2008-10-12T15:16:22.041+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Foundation</category><title>Program Code Format</title><description>&lt;div style="text-align: justify;"&gt;To make easier program code scanning, do not writing of long code in a line. As solution, program code format by elaborating the parts.

&lt;blockquote&gt;// not like it
If ($letter == ‘a’ || $letter == ‘I’ || $letter == ‘u’ || $letter ==  ‘e’ || $ letter == ‘o’)  {$vocal = true;}

// like it
If ($letter == ‘a’ || $letter == ‘I’ ||
$letter == ‘u’ || $letter == ‘e’ ||
$letter == ‘o’)
{
$vocal = true;
}&lt;/blockquote&gt;

In addition, better always apply space for neatening program

&lt;blockquote&gt;$name     = ‘php’;
$category = ‘server-side’;
$url      = ‘http://www.php.net/’;&lt;/blockquote&gt;

&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-2149266889195871646?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/pE7fJo_BjjQ/program-code-format.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/program-code-format.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-70448368165675902</guid><pubDate>Fri, 10 Oct 2008 14:15:00 +0000</pubDate><atom:updated>2008-10-10T21:41:50.861+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Foundation</category><title>Standard coding</title><description>Every programming language always give standards rule for made reference programmer. This thing for created program are consistence and uniform. The example is standard name.

In programming, a name is applied to relate identity which for declaration. Related/relevant this matter, there are some base order which truly hardly required to produce a program more interesting.

Variable name better use a lower case. If the name consist of some words, disjointed with under line (underscore). For example $name or $name_user. Give name of Constanta is suggested to follow order variable except using all block letters. For Example MAX MAX_DATA or SUM_DATA.

&lt;a href="http://php-base.blogspot.com/2008/10/what-is-php.html"&gt;Name&lt;/a&gt; of function better also relate at naming of variable and hardly suggested that to express a verb or action, for example get_data(), set_data(), or print(data).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-70448368165675902?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/gX5YnZlTD-4/standard-coding.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/standard-coding.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6940069190000225488.post-1523772711888187208</guid><pubDate>Thu, 09 Oct 2008 05:26:00 +0000</pubDate><atom:updated>2008-10-09T12:33:25.577+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Foundation</category><title>What is PHP ?</title><description>PHP? Maybe many more question in friends of hearing word PHP. PHP is a script which one with HTML dan stay at server (server side HTML embedded scripting). With this PHP You can create immeasurable application base on the web, start from simple web page until the application of complicated requiring connection to database.
Until now, many databases which have been supported by PHP and possibilities will continuously increase. the database is :

&lt;ul&gt;&lt;li&gt;    dBase&lt;/li&gt;&lt;li&gt;    DBM&lt;/li&gt;&lt;li&gt;    FilePro&lt;/li&gt;&lt;li&gt;    mSQL&lt;/li&gt;&lt;li&gt;    MySQL&lt;/li&gt;&lt;li&gt;    ODBC&lt;/li&gt;&lt;li&gt;    Oracle&lt;/li&gt;&lt;li&gt;    Postgres&lt;/li&gt;&lt;li&gt;    Sybase&lt;/li&gt;&lt;li&gt;    Velocis&lt;/li&gt;&lt;/ul&gt;
Besides of that, PHP also support connection with protocol IMAP, SNMP, NNTP dan POP3.

&lt;span style="font-weight: bold;"&gt;&lt;U&gt;History PHP&lt;/u&gt;&lt;/span&gt;

PHP first time made by Rasmus Lerdorf in the year 1995. At the moment called FI (Form Interpreted). PHP is a group of script which applied to data form processing from the web.

Growth from here Rasmus discharge the source of code and give a name him PHP/FI, at the time elongation from PHP/FI is Personal Home Page/Form Interpreter. With this release of source code become open source, many programmers interesting to follow develop PHP.

At November 1997, release PHP/FI 2.0. At this release, implementation on C. On this release also figured extensions modules increasing ability of PHP/FI.

In the year 1997, a company called Zend, rewrite PHP become more clean, quick and better. Then at June 1998 the company release new of PHP and give a name PHP 3.0.

in the middle of the of 1999, Zend release PHP 4.0. PHP 4.0 is PHP version which at most weared. This version many weared because this versions can be use to build the web application are complex but remain to have a speed of high stabilities and processes.

At June 2004, Zend release PHP 5.0. This version is recent version from PHP. In this version, core from PHP experience change of large. In this version also defined by new object-oriented programming model.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6940069190000225488-1523772711888187208?l=php-base.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/php-base/~3/V-5ad7JrQg4/what-is-php.html</link><author>noreply@blogger.com (bloodor)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://php-base.blogspot.com/2008/10/what-is-php.html</feedburner:origLink></item></channel></rss>
