1. PHP Class Introduction
I am going to show the simplest class in PHP. (See the embedded comments for detail. It’s very easy to understand.) This is the php class code (filename is contact_info.php) class contact_info { /*...
View ArticleFile Upload Limit in PHP (PHP configuration)
In wordpress, if you see an error message when you trying to upload a file that even though you set the upload_max_filesize to the right size, it still say exceeding the limit. That’s because...
View ArticleSending Email in PHP (Example)
If you configured the SMTP hosts in php.ini, you can easily send email via PHP. Simply use the mail() function in PHP and put in the parameters for email to, subject, email, and header information....
View Article2. PHP Class Inheritance
This simple tutorial is for showing how class inheritance works in PHP and also provide a simple Object Oriented Programming (OOP) concept. To put things simply, class inheritance means a class can be...
View ArticlePHP: Other Information about Class & OOP
Interfaces In large object-oriented projects, there is some advantage to be realized in having standard names for methods that do certain work. For example, if many classes in a software applica- tion...
View Article