tag:blogger.com,1999:blog-60251119300028320872024-03-08T01:47:03.984-08:00The Info Onlinew3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6025111930002832087.post-89896432577064770902010-05-08T04:50:00.000-07:002010-05-08T04:50:58.225-07:00PHP Syntax<i><b>PHP scripting tag</b></i> always starts with <b class="txtblue"><?php</b> and ends with <b class="txtblue">?></b>. PHP scripting tag can be use anywhere in the document.<br />
<br />
There are four sets of tags which can be used to denote blocks of PHP code. Of these, only two (<span class="txtblue"><?php. . .?></span> and <span class="txtblue"><script language=”php”>. . .</script></span>) are always available; the others can be turned on or off from the <span class="txtblue">php.ini </span>configuration file. While the short-form tags and <b>ASP-style tags</b> may be convenient, they are not as portable as the longer versions. Also, if you intend to embed <i>PHP code in XM</i>L or<i> XHTML</i>, you will need to use the <span class="txtblue"><?php. . .?></span> form to conform to the <i>XML</i>.<br />
<br />
To activate recognition for short tags, you must make sure that the <span class="txtblue">short_open_tag</span> switch is set to On in<span class="txtblue"> php.ini</span><span class="txtblack">:</span>[<a href="http://www.w3schoolas.com/tutorial/php%20syntax.php">Read More...</a>]w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-51659052728251133242010-05-06T04:06:00.000-07:002010-05-06T05:15:24.821-07:00How PHP Is ParsedSo you have a file, and in that file you have some <i><b>HTML</b></i> and some <b><i>PHP code</i></b>. This is how it all works, assuming a PHP document with an extension of <span class="txtblack">.php</span>.<br />
<br />
<ol class="useli"><li>The <i>Web browser requests</i> a document with a <span class="txtblack">.php</span> extension.</li>
<li>The <i>Web server</i> says, “Hey! Someone wants a PHP file. Something else needs to deal with it,” and <i>sends the request</i> on to the <i>PHP parser</i>.</li>
<li>The PHP parser finds the requested file and scans it for <i>PHP code</i>.</li>
<li> When the PHP parser finds PHP code, it executes that code and places the resulting output (if any) into the place in the file formerly occupied by the code.</li>
<li> This new output file is sent back to the<i> Web server</i>.</li>
<li> The <i>Web server sends</i> it along to the <i>Web browser</i>.</li>
<li>The Web browser displays the output. [<a href="http://w3schoolas.com/tutorial/history%20of%20php.php#phpinstallation">Read More...</a>] </li>
</ol><a href="http://www.bloggapedia.com/" title="Blog Directory"><img alt="Blog Directory" border="0" src="http://www.bloggapedia.com/bp_small_images/blog-gapedia9.png" /></a><br />
<a href="http://www.bloggapedia.com/" title="Blog Directory"><img alt="Blog Directory" border="0" src="http://www.bloggapedia.com/bp_small_images/blog-gapedia9.png" /></a><br />
<a href="http://www.britblog.com/"><img alt="BritBlog" src="http://www.britblog.com/images/icon_britblog_80x15.gif" /></a><br />
<a href="http://www.blogrankings.com/technology/"><img alt="Technology Blogs - Blog Rankings" src="http://www.blogrankings.com/img_30229.gif" style="border: medium none;" /></a><br />
<a href="http://www.blogarama.com/"><img alt="blogarama - the blog directory" border="0" src="http://www.blogarama.com/images/button.gif" title="blogarama - the blog directory" /></a><br />
<a href="http://www.brainbliss.com/" id="EI01218188">Site tools</a><br />
<a href="http://www.brainbliss.com/" id="EI01218188">Site tools</a><br />
<a href="http://www.getblogs.com/directory/">GetBlogs Blog Directory</a><br />
<a href="http://www.blogtopsites.com/computers/" target="_blank" title="Computers Blogs"><img alt="Computers Blogs" src="http://www.blogtopsites.com/v_46102.gif" style="border: medium none;" /></a><br />
<a href="http://www.bloglisting.net/">Blog Listings</a>w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-79217694041079495642010-05-01T05:03:00.000-07:002010-05-01T05:04:03.415-07:00PHP Installation<ul class="useli" type="disc"><li><i><b>Web server software</b></i>. Most sites use <a href="http://docs.moodle.org/en/Apache" title="Apache">Apache</a> as the web server software. Moodle should work fine under any web server that supports <a href="http://docs.moodle.org/en/PHP" title="PHP">PHP</a>, such as <a href="http://docs.moodle.org/en/IIS" title="IIS">IIS</a> on <b><i>Windows platforms</i></b>.</li>
<li><b><i>PHP scripting language</i></b>. (Please note that there have been issues installing Moodle with <b><i>PHP-Accelerator</i></b>). There are currently two versions (or branches) of PHP available: <b><i>PHP4</i></b> and <i><b>PHP5</b></i>. See the PHP Moodle version requirements here PHP settings by Moodle version. [<a href="http://w3schoolas.com/tutorial/history%20of%20php.php#phpinstallation">Read More...</a>]</li>
</ul><br />
<ul class="useli" type="disc"></ul>w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-27383711198932991932010-04-30T04:36:00.000-07:002010-04-30T04:42:14.107-07:00Works with the Web ServerThe normal process a Web server goes through to deliver a page to a browser is as follows. It all begins when a browser makes a request for a Web page. Based on the URL, the browser resolves the address of the Web server, identifies the page it would like, and gives any other information the Web server may need. Some of this information is about the browser itself, like its name <b>(Mozilla),</b> its version (4.08), or the operating system <b>(Linux)</b>. Other information given the Web server could include text the user typed into form fields. [<a href="http://w3schoolas.com/tutorial/what%20does%20php%20do.php#phpworks"> read more...</a>]w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-23485149525165561412010-04-29T07:33:00.000-07:002010-04-30T04:40:44.280-07:00Better Th an Its AlternativesIn previous years, skeptics may have asked, Why should <b><i>I learn PHP?</i></b> Today, PHP’s popularity is enough to generate interest in learning it. PHP is a standard feature offered by most <i><b>Web hosting</b></i> companies. However, it is interesting to understand.<br />
Why so many people choose PHP over alternatives. [<a href="http://w3schoolas.com/tutorial/what%20does%20php%20do.php" target="_blank"> Read More…</a>]w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-30045732093256642152010-04-27T06:47:00.000-07:002010-04-30T04:41:38.968-07:00What Does PHP Do?PHP does anything you want, except sit on its head and spin. Actually, with a little on-the-fly image manipulation and <b>Dynamic HTML</b>, it could probably do that, too.<br />
According to the <b>PHP manual</b>, "The goal of the language is to allow <b>Web developers</b> <i>to write dynamically generated pages quickly."</i><br />
[<a href="http://w3schoolas.com/tutorial/what%20does%20php%20do.php" target="_blank"> Read More… </a>]<br />
<iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=thei0e0-20&o=1&p=8&l=bpl&asins=0672329166&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe><iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=thei0e0-20&o=1&p=8&l=bpl&asins=032152599X&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe>w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-87848528835152106122010-04-26T04:15:00.000-07:002010-04-26T04:15:20.982-07:00A Brief History of PHPIn 1994, an incredibly forward-thinking man named Rasmus Lerdorf developed a set of tools that used a parsing engine to interpret a few macros here and there. They were not extravagant: a guest book, a counter, and some other “home page” elements that were cool when the Web was in its infancy. He eventually combined these tools with a form interpretation (FI) package he had written, added some database support, and released what was known as PHP/FI. [<a href="http://www.w3schoolas.com/tutorial/" target="_blank"> Read More </a>]<br />
<br />
<iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=thei0e0-20&o=1&p=8&l=bpl&asins=0789725681&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe><iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=thei0e0-20&o=1&p=8&l=bpl&asins=0131875086&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe>w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-19571170775646381522010-04-23T05:54:00.000-07:002010-04-23T05:55:06.498-07:00Why PHP?You may be wondering why you should choose PHP over other languages such as Perl or even why you should learn a scripting language at all. I will deal with learning scripting languages first. Learning a scripting language, or even understanding one, can open up huge new possibilities for your website. Although you can download pre-made scripts from sites like Hotscripts, these will often contain advertising for the author or will not do exactly what you want. With an understanding of a scripting language you can easily edit these scripts to do what you want, or even create your own scripts…. <a href="http://www.w3schoolas.com/tutorial/" target="_blank">[ Read More ]</a><br />
<br />
<a href="http://www.amazon.com/PHP-MySQL-Web-Development-4th/dp/0672329166?ie=UTF8&tag=thei0e0-20&link_code=btl&camp=213689&creative=392969" target="_blank"></a><a href="http://www.amazon.com/Wicked-Cool-PHP-Real-World-Difficult/dp/1593271735?ie=UTF8&tag=thei0e0-20&link_code=btl&camp=213689&creative=392969" target="_blank">PHP and MySQL Web Development (4th Edition)</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=thei0e0-20&l=btl&camp=213689&creative=392969&o=1&a=1593271735" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" />w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-31816549257008851002010-04-21T05:45:00.002-07:002010-04-23T05:51:00.124-07:00What is PHP?PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. PHP is relatively new (compared to languages such as Perl (CGI) and Java) but is quickly becomming one of the most popular scripting languages on the internet.<br />
<br />
Tips:-<br />
PHP stands for PHP: Hypertext Preprocessor. <a href="http://www.w3schoolas.com/tutorial" target="_blank"> Read More...<iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=thei0e0-20&o=1&p=8&l=bpl&asins=0596006810&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"></iframe></a>w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0tag:blogger.com,1999:blog-6025111930002832087.post-24465852997050794192010-04-21T05:45:00.000-07:002010-04-21T05:45:01.261-07:00PHP IntroductionUp until recently, scripting on the internet was something which very few people even attempted, let alone mastered. Recently though, more and more people have been building their own websites and scripting languages have become more important. Because of this, scripting languages are becomming easier to learn and PHP is one of the easiest and most powerful yet.w3schoolhttp://www.blogger.com/profile/02505531130785594503noreply@blogger.com0