SimplytheBest PHP Scripts

The simply the best collection of PHP scripts

Leaf is a PHP micro framework that helps you create clean, simple but powerful web apps and APIs quickly.

44   12284

PHP sample code how to populate a jPlayer playlist from a MySQL database.

SleekDB By: Kazi Hasan
Free MIT

SleekDB is a simple flat file NoSQL like database implemented in PHP without any third-party dependencies that store data in plain JSON files.

561   7895
Send Email With PHP and MySQL By: SimplytheBest.net
Free GPLv2

This PHP snippet receives the member ID from a form or from a link and retrieves the wanted data from the database, sends the e-mail and ends with one of two options.

485   7566
SEOstats By: Stephan Schmitz
Free MIT Open Source

A powerful open source PHP library to request a bunch of SEO relevant metrics such as detailed backlink analyses, keyword and traffic statistics, website trends, page authority, Google Pagerank, the Alexa Trafficrank and much more.

216   6332
Extract random MySQL records in PHP By: SimplytheBest.net
Free GPLv2

To extract a random record from f.e. a MySQL table you can use this sample PHP code to get you going. The snippet uses rand() to generate a random number and LIMIT to select the record from the SQL table.

352   6323
Generate RSS Feeds in PHP By: SimplytheBest.net
Free GPLv2

This PHP snippet shows you how to generate RSS Feeds from MySQL database records on the fly. Easy and straightforward.

495   5680
PHPOffice By: Mark Baker
Free LGPL

Read, write and create spreadsheet documents in PHP using OpenXML. Formats: Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML.

290   5416
Connect to MySQL Database By: SimplytheBest.net
Free GPLv2

PHP snippet to connect to a MySQL database using a file for the connection and an include statement in the page needing to connect.

548   4994
PHPMailer By: Synchromedia Ltd.
Free GNU/GPL

A full-featured email creation and transfer class for PHP. Integrated SMTP support, multiple TOs, CCs, BCCs and REPLY-TOs, UTF-8 content, 8bit, base64, binary and quoted-printable encodings, and more.

57   4909