January 20th, 2007 at 10:05 pm (PHP Articles, Fast PHP Tutorial Series)
Related Articles:
FAST PHP Tutorial (Part 1)
How to Install PHP on Windows (Fast PHP Tutorial Part 2)
How To Install PHP On Linux
How To Install Apache on Windows
Easy Installers to Install PHP, MySQL, Apache on Windows
PHP Programming Basics
Operators in PHP
Decision Making using IF-ELSE in php
Decision Making using PHP Switch Statement
Hi guys,
I have been receiving very good feedback from different users from different countries and I am loving it
I have replied to all of those students who have sent me their assignments and have asked any questions though I will request you to ask questions in the comments of a specific articles so that other readers can also get knowledge about the points you ask me.
Let’s move towards our today’s lecture which is about Loops.
There are certain conditions in which you need to execute the same block of code again and again. For example if you want to print ten consective equal signs in three lines to make a separater then you could do it with different methods. One could be to use three echo statements and put ten equal signs in each i.e
Quick Code
<?php
echo "==========" . "<br>";
echo "==========" . "<br>";
echo "==========" . "<br>";
?>
Read the rest of this entry »
2 Comments
January 19th, 2007 at 2:02 pm (PHP Articles, Fast PHP Tutorial Series)
Hi,
Here is a good shepherd with his sheep again
Today I am going to discuss Switch Statement. The basic concept of Switch is similar to the IF-ELSE statement; it helps you to write decision making code just like IF-ELSE but it is a little more organized, elegant and handy when dealing with complex logics as compare to IF-ELSE.
Remember, you can convert every IF-ELSE programme to Switch syntax but vice versa is not possible in some situations.
Remember one more thing, it is not necessary to convert IF-ELSE to Switch and vice versa, just use whatever suits to your needs, though when handling the complex and large decision making code I would suggest to use Switch.
Let’s have a look at its syntax.
Switch Statement Syntax:
Read the rest of this entry »
21 Comments
January 13th, 2007 at 9:07 pm (PHP Articles, Fast PHP Tutorial Series)
Dear students,
today we are going to study the tools that will help you to write Decision Making Codes in php. For example, when you sign in to orkut.com you see a message ‘hello username’ on the upper right of every page. Similarly when you login to gmail if you provide wrong username or password you see an error message and if you submit accurate information you are taken to the inbox.
If you think deep on these events, this is what we call ‘decision making code’. your write intelligent code that can make decision on user’s input and can act accordingly to the input to produce required output.
Read the rest of this entry »
4 Comments
January 10th, 2007 at 9:47 pm (PHP Articles, Fast PHP Tutorial Series)
Dear pupils,
I hope you would have been practising the last lecture ( PHP Programming Basics ) as I am getting feedback from different students from different countries and I am very happy I am able to contribute to PHP through my series of PHP Articles for beginners and professionals.
Today we are going to discuss different types of operators used in PHP. I hope you remember the basic definition of the operators and operands from my last article ( PHP Programming Basics ) and I am not going to explain it again as we had promised in the very first article of this Series of PHP Tutorials that we will not see behind and this is just to compell you to concentrate on each and every article of this series and practise (O! I love practice)
Read the rest of this entry »
9 Comments
January 9th, 2007 at 4:54 pm (PHP Articles, Fast PHP Tutorial Series)
Hi,
In previous articles we have covered topics like
How to install PHP on windows
How to install PHP on Linux
How to install Apache on Windows
PHP, MySQL, Apache installers
By now, I hope you would have set up your system to start actual PHP programming.
Lets start PHP programming.
Read the rest of this entry »
6 Comments
January 6th, 2007 at 2:49 pm (PHP Articles, Search Engine Optimization)
Introduction
As you may know, clean URLs can be made with Apache’s mod_rewrite, but you are able to make clean URLs with PHP only.
This tutorial requires minimum knowledge of PHP.
Contents
This tutorial is split up into the following parts:
Introduction
Method one
Implementing method one
Method two
Implementing method two
Conclusion
Read the rest of this entry »
Comments
January 4th, 2007 at 5:02 pm (Linux Articles, PHP Articles, MySQL Articles, Apache Articles)
Preface:
There are many howtos on building Apache with PHP, MYSQL support, but it is very rare to find some document on OCI8 support with Apache Build, recently I was building a web server in my data center and I was really in trouble when I was searching some installation document, there are few documents , but most of them are using either RPM version of packages or they are missing some of the essential steps. I am trying to write a howto that will help you to at least understand the installation with step-by-step method.
Plateform:
I am using IBM x system x86_64 bit server with RHEL 4 Update Level 4.
Read the rest of this entry »
1 Comments
December 30th, 2006 at 1:37 pm (PHP Articles)
A post from great Zeev Suraski’s (ZEND) blog
I’ve just been misquoted on Slashdot, as if I said there are no security problems in PHP itself, and that I instead point my finger only at inexperienced developers.
If you read the original article on Heise Security, you’ll see that I have not said anything of the sort. While I hope Slashdot fixes this story, I thought I’d make my stand on this clearer. I believe this is the belief of most others on the security team, but I’m only speaking on behalf of myself and do not represent them.
Read the rest of this entry »
Comments
December 27th, 2006 at 10:33 pm (PHP Articles, Apache Articles)
This extract shows a few tweaks to ensure that PHP works the way you would expect. The examples are for windows and are related to 2 previous articles about Apache configuration.
Read the rest of this entry »
Comments
December 27th, 2006 at 4:02 pm (PHP Articles, Apache Articles)
A popular debate is how to run 2 versions of PHP at the same time. This extract shows two ways to achieve this.
Read the rest of this entry »
1 Comments