Templates in PHP
Templates for handy for reuse & easy maintenance
< ! - - template.tpl - - >
< html >
< title > {TITLE} < /title >
< body >
{CONTENT}
< /body >
< /html >
Read the rest of this entry »
Templates for handy for reuse & easy maintenance
< ! - - template.tpl - - >
< html >
< title > {TITLE} < /title >
< body >
{CONTENT}
< /body >
< /html >
Read the rest of this entry »
PHP gives you lot many advantages such as-
• Database support
- MySQL
- SQL Server
- Oracle
- ODBC
• XML parser
• SMTP
• PDF
• GD Library : Image Manipulation
Read the rest of this entry »
Let’s look at this simple example to start with PHP-
Read the rest of this entry »
Advantages of PHP over ASP-
• Open source
• Free
• PHP is cross-platform scripting language.
- It can run on Linux, Solaris, Windows
- ASP runs reliably on IIS
Read the rest of this entry »
Sample PHP code
< html >
< body >
< ?php
echo (“Hello World”);
? >
< /body >
< /html >
The follwoign Web servers that support PHP
1. IIS
2. Apache
3. Xitami
4. OmniHTTPD
Read the rest of this entry »
• PHP is a widely-used scripting language that is suited for Web development
• It can be embedded into HTML
Read the rest of this entry »