|
PHP is a server-side, cross-platform, HTML-embedded scripting language
used to create dynamic web pages. PHP can create web site functions
such as discussion boards, email forms, chat scripts, counters,
polls and voting, error handling, guestbooks and much more. One
reason why PHP is so popular with web site designers is because
it is open source software. PHP is especially suited for Web development
and can be embedded into HTML. The best things in using PHP are
that it is extremely simple for a newcomer, but offers many advanced
features for a professional programmer.
What do you Need ?
- A Web Server
- PHP installed on this server, the later version the better
- MySQL on this server as well , for database scripts like search
engines
- Text editor -- You will need a text editor such as MicrosoftR
Notepad
- FTP program -- You will use this software to upload your programs
to your website.
The Most Basic PHP Page
- <?php
echo "Hello World" ;
?>
How it works
- <?php - This is the opening PHP tag, instructs that
the page be read as PHP and not as HTML.
- echo - This statement displays text on the screen.
- ?> - This is the closing PHP tag.
|