The comments in the code will be a major point for a Web Developer to start his PHP Learning Career. We add comments because it facilitate us to look-up the past coding which we have forget. As well as It also give the pretty much nice look to the code. The code comments do not show on the browser. They get skipped or you can say hide! Every Good Professional Web Developer must write code comments. Another advantage of Comments is that we can easily read the our code or someone's.
Browse » Home » Archives for June 2013
Lesson # 2 (PHP): How to check PHP is enabled on your server ?
In the second part of learning PHP. We are checking php is enabled on your server ?
Before you creating .php files you have to check PHP activity on your server.
Before you creating .php files you have to check PHP activity on your server.
FOLLOW THESE INSTRUCTIONS:
- Open the Notepad
- Set the name of the .txt file php_check_active.php
- Put this file on your server if you are using localhost put it into the (www) directory inside the folder of Wamp , Xampp or else. and If you are using WebHosting So Put the file into public_html directory.
Lesson # 2 (HTML): HTML Elements
Everything in between The Start of Tag to the end of tag is called HTML Element. HTML Elements are some time referred as HTML Tags. It is used to marking up the webpages. The documents of HTML are defined by HTML Elements.
Discussing on Start and End Tag !
HTML Elements based on start tag and the end tag.
Here is the example :
Start Tag :
Let's Suppose we starts with paragraph element
<p> (START tag)
</p> (END Tag)
As you can see above that end tag contain a slash (/) before the letter. It means you have end your tag by adding slash in the element.
Let's Suppose we starts with paragraph element
<p> (START tag)
</p> (END Tag)
As you can see above that end tag contain a slash (/) before the letter. It means you have end your tag by adding slash in the element.
Conclusion :
So, The Conclusion is that AN End Tag Contains a slash in the starting.Lesson # 1 (HTML): How to create a HTML file ?
To create a HTML file is one the easiest start to learn HTML. You just have to change the extension of the file. Web Browsers can comfortably supports an HTML file. It doesn't take any problem to open this file as compared to the PHP file. A Browser can support HTML file when the extension of the file is .html or .htm otherwise the browser can't display the special text which is inside of the html file.
NEED ?
- Notepad
- Web Browser
For Example : > .txt file to .html
Lesson # 1 (PHP): How to Install PHP ?
PHP cannot work on your browser if it has not a Local Host or Online Web Server. You have to install web-server to display your PHP data on browsers. Don't be afraid this is not a tough work it is easy. You just have to follow these steps carefully !
There are two types of Web Server one is online or another one installed in your disk directory which known to be called as (LocalHost Server)
There are two types of Web Server one is online or another one installed in your disk directory which known to be called as (LocalHost Server)
- Creating ONLINE Web Server ( Easy for Beginners )
To create your online web server. You must have a Web Hosting. Whether, It is paid service or not. That's not a point , you have a web hosting which sure to run .php files. Here are some Web Hosting I am telling you in FREE :D
1. 000webhost.com
2. Zyn.net
- Creating a Local Server ( Difficult For Newbies )
It is difficult for beginners to create their localhost server. To install LocalHost Server You have to install these things :
1. Wamp Server
2. Apache Web Server
Login System In Javascript
Hey, Today I am going to show the source code of Login System In Javascript. As Well As, It's not better than PHP Login System But It is quietly brilliant :)
The Source Code include a javascript and a html table.
<script language = "Javascript">
// Identifying the language
function passuser(form) {
if (form.id.value=="Your Username") //Here you can change your username {
if (form.pass.value=="Your Password") //Here you can change your password {
location="index.html"
} else {
alert ("Incorrect Password")
}
} else { alert ("Invalid UserId")
}
}
</script>
The Source Code include a javascript and a html table.

// Identifying the language
function passuser(form) {
if (form.id.value=="Your Username") //Here you can change your username {
if (form.pass.value=="Your Password") //Here you can change your password {
location="index.html"
} else {
alert ("Incorrect Password")
}
} else { alert ("Invalid UserId")
}
}
</script>
Getting Started With PHP
Let's Start Start PHP
PHP stands for Hyper-Text Pre-Processor language. PHP is a dynamic server-side language. It is used to develop dynamic pages. PHP can be mingled into HTML and works in a dynamic way. PHP facilitate a Web Master to convert his simple webpage to a professional mechanism to the page. It is a widely used, open-source scripting language. If you want to learn PHP. You will have to learn HTML because PHP code only embed in HTML. If you learn HTML So, you know that HTML is not a Programming Language, HTML is a rendering language. The first name of PHP was Personal Home Page Which had been changed through a Community Vote!
FOR EXAMPLE:
HTML doesn't have any command to sum the numbers.
PHP is absolutely free OH Yeah ! It's Free to download and use
PHP stands for Hyper-Text Pre-Processor language. PHP is a dynamic server-side language. It is used to develop dynamic pages. PHP can be mingled into HTML and works in a dynamic way. PHP facilitate a Web Master to convert his simple webpage to a professional mechanism to the page. It is a widely used, open-source scripting language. If you want to learn PHP. You will have to learn HTML because PHP code only embed in HTML. If you learn HTML So, you know that HTML is not a Programming Language, HTML is a rendering language. The first name of PHP was Personal Home Page Which had been changed through a Community Vote!
FOR EXAMPLE:
HTML doesn't have any command to sum the numbers.
PHP is absolutely free OH Yeah ! It's Free to download and use
THE MAIN ADVANTAGES:
- Reduces the time to create large websites.
- Doesn't lag or hang the website as compared to the HTML.
- PHP can be browse faster.
- PHP add the professionalism in the website.
What you should have to know ?
Before Starting PHP, You should know what is HTML? Otherwise, You can not reach PHP. And If any programmer has any knowledge of C# or Javascript So, It will be much better easier to learn PHP.
FAMOUS ONE'S CURRENTLY USING PHP:
The Famous Websites which are using PHP programming in their Websites and Applications ?- JOOMLA
- DRUPAL
- WORDPRESS
- WEB INTERSECT
- OSCommerce
- PHPBB
- JCOW etc.
THE EXTENSION OF PHP:
PHP has (.php) extension
Getting Started With HTML
HTML stands for Hyper-Text Markup Language. It is a language which is used to show your data and information on Web browsers. If you want to become a master in web, the first step you have to learn is HTML. It is a markup structure for webpages. When web browser access a file it knows how to parse the document according to the file extension. It is used to lay outing and structuring the webpages with the help of paragraph, heading, text, images, audio and video.
HTML is currently maintained by the people of W3C. In simple language HTML is a language which made the simple text (.txt) document WELL Dressed.
HTML is currently maintained by the people of W3C. In simple language HTML is a language which made the simple text (.txt) document WELL Dressed.
THE EXTENSIONS OF HTML:
- .html
- .htm
Subscribe to:
Posts (Atom)
