Learn PHP Tutorial
PHP supports the basic data types of strings, integers, double precision ….. W – ISO-8601 week number of year, weeks starting on monday (added in PHP …
More PDF Content
Learn PHP Tutorial
Page 1
Copyright 2005 Reimar Vetne / Flavus Data AS, www.learn-php-tutorial.com For daily and weekly PHP-tips check out www.php-daily.com
Page 2
2 Copyright 2005 Reimar Vetne / Flavus Data AS, www.learn-php-tutorial.com For daily and weekly PHP-tips check out www.php-daily.com Learn basic PHP in 6 weeks Copyright 2005 Reimar Vetne www.learn-php-tutorial.com post@learn-php-tutorial.com Flavus Data AS Grønvoldvn 705 N-3830 Ulefoss Norway Table of content 1. Getting started 2. Commenting your code 3. Language Reference 3.1 Types 3.2 Variables 3.3 Constants 3.4 Operators 4. for and while Loop 5. Handling Forms 6. Emails 7. Date and Time functions 8. PHP include function – creating the Header and Footer 9. How to set up a mysql database 10. How to set up tables in the interface 11. Cookies and Sessions 12. How to create table through PHP 13. Case study: a CMS (content management system) or Blog
Page 3
3 Copyright 2005 Reimar Vetne / Flavus Data AS, www.learn-php-tutorial.com For daily and weekly PHP-tips check out www.php-daily.com 1. INTRODUCTION: PHP (recursive acronym for “PHP: Hypertext Preprocessor”). PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994. Now it has version 4.0.3 with numerous improvements and refinements over the original release. PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites. It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server. Common uses of PHP: It performs system functions, i.e. from files on a system it can create, open, read, write, and close them. It can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user. You can add, delete, modify elements within your database thru PHP. Access cookies variables and set cookies. Using PHP, you can restrict users to access some pages of your website. It can encrypt data. Now, we will walk through a few simple examples so you can have an idea. Keep in
Processing your request, Please wait....