- Here you can find some useful PHP classes that are free on the net, and helpful for PHP Web Developers, to create and add easily various elements in your web site.

  1. PDO_MySQLi
    - PHP class to connect to MySQL and perform easily and safe SQL queries, using any of PDO, or MySQLi extensions.
  2. Read Excel file data in PHP - PhpExcelReader
    - PHP class that can be used to read Excel file data without Microsoft Office. It supports both XLS and XLSX types.
  3. PHPMailer
    - Free Email Transfer Class for PHP, supporting mail(), SMTP and POP3, HTML messages, attachments.
  4. dompdf
    - HTML to PDF converter. Create PDF files with PHP, convert HTML document to PDF.
  5. PHP Simple HTML DOM Parser
    - A HTML DOM parser written in PHP5+. This class let you manipulate HTML in a very easy way, find tags on an HTML page with selectors just like jQuery.
  6. EasyPhpThumbnail Class
    - A Free PHP class for creating thumbnails. EasyPhpThumbnail allows you to handle image manipulation and generate thumbnails for GIF, JPG and PNG on-the-fly. Resize, crop, rotate, flip, save as, shadow, watermark, reflection, and more..
  7. parseCSV
    - PHP class to read and write easily CSV data. Can filter the CSV by conditions, store CSV data into an array, convert array to CSV data.
  8. GraidleChart Create Graphic Charts
    - Lightweight PHP graphing class that creates and displays several types of graphical diagrams / charts: vertical or horizontal bar, line, spider, or pie graphs used especially in statistics, for incorporation into a website or application.

If God wants, new Free PHP Classes will be added soon.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which HTML element can be used to embed a SWF flash content?
<object> <div> <script>
<object type="application/x-shockwave-flash" data="file.swf" width="500" height="250">
 <param name="src" value="file.swf" />
 Your browser not support SWF.
</object>
Which CSS pseudo-class adds a style to an input form field that has keyboard input focus?
:active :focus :hover
input:focus {
  background-color: #88fe88;
}
Click on the instruction which converts a JSON string into a JavaScript object.
JSON.stringify(javascript_object) object.toString() JSON.parse(json_string)
var jsnstr = '{"url": "http://coursesweb.net/", "title": "Web Development Courses"}';
var obj = JSON.parse(jsnstr);
alert(obj.url);
Indicate the PHP function which can be used to create or write a file on server.
fopen() file_put_contents() file_get_contents()
if (file_put_contents("file.txt", "content")) echo "The file was created";
else echo "The file can not be created";
Useful PHP Classes

Last accessed pages

  1. PHP OOP - Inheritance, class extends (1503)
  2. Register and show online users and visitors (4915)
  3. Create and Use in PHP a Simple Template Page (1650)
  4. The Fifth Agreement (4458)
  5. Dynamic variables in JavaScript (1247)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (16574)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (16210)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (15515)
  4. Ajax-PHP Chat Script (13664)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (13642)