Want to hire a development team?
Search Filter
Search Filter
Sort Listings By
Show Only
By Customer Review
Licence Type

Top Rated Scripts | PHP | Tutorials & Tips

Results 561-580 of 648
Macronimous - Writing clean, secure and easy to maintain PHP code
Any code when written in a clean, easy to understand and formatted way is readily accepted and acclaimed by one and all. It is essential that the codes we write should be able to be understood by all, because the same programmers need not necessarily work on the same set of codes always.
(0 ratings)
Reviews0
PriceFree
Views768
Macronimous - The need for PHP code refactoring
Refactoring is changing of complex and complicated programming codes into simple and confusion-less ones, thereby restructuring the complete set of codes into easily readable formats, without any change in the output or functionality.Refactoring does not include fixing of glitches or including of new functionalities or practices to the existing set of codes.
(0 ratings)
Reviews0
PriceFree
Views814
Generate Random Strings Using PHP
Simple yet customizable function that allows you to generate random strings using characters from multiple sets e.g. upper case, lower case, digits and symbols. The random strings can be used in various systems where short, random strings are needed; such as login systems (random password generation) and referral/promotional/discount codes. The coder can specify and change the complexity of string with ease. Few examples presets and output included.
(0 ratings)
Reviews0
PriceFree
Views1073
Snippet: Converting Seconds to Readable Time (PHP & JS)
Sometimes, you might need to convert an integer representing seconds into a format that is easier to read. These functions can be used to turn a number of seconds into a simple format of HH:MM:SS, with leading zeros (ex. 15272 = 04:14:32). This can be used for countdown scripts, which is why I also include both a PHP and a JavaScript version.
(0 ratings)
Reviews0
PriceFree
Views1104
5 Tips for Writing Cleaner PHP Code
There are many benefits to writing clean code for any project, no matter how small. The importance of clean code becomes most apparent when you need to find an error, especially a syntax error. In the end, cleaner code means less time reading and more time coding!
(0 ratings)
Reviews0
PriceFree
Views1083
Modifying Templates Using DOMDocument In PHP
PHP 5 includes a powerful set of DOM manipulation classes that gives you full control over HTML and XML documents. This functionality behaves very similar to JavaScript's DOM manipulation engine. In this tutorial, we'll use the PHP DOMDocument class to load and modify an HTML5 template.
(0 ratings)
Reviews0
PriceFree
Views951
Using MySQL Prepared Statements in PHP
PHP supports MySQL prepared statements using the Mysqli (MySQL Improved) extension in PHP 5 via the MySQLi_STMT class. They are fairly easy to use once you get used to the differences from writing raw SQL statements. This tutorial will explain how to use prepared statements.
(0 ratings)
Reviews0
PriceFree
Views1200
PHP File Download Security
Protect your downloadable content by storing the files outside your webroot. This is an easy solution to online subscription content protetcion.
(0 ratings)
Reviews0
PriceFree
Views1293
Calculating the remainder of a subscription time in PHP
To calculate the remainder of a subscription time in PHP we need three items: the end date from the future in timestamp format, the current date in timestamp format, and a function to convert the difference between the two from seconds into days, months and maybe even years.
(0 ratings)
Reviews0
PriceFree
Views993
Maintain a Single Database Object in PHP 5 Using the Singleton Pattern
When creating a PHP application, it is usually necessary to connect to a database to perform certain tasks. In some cases you only want to open a connection when necessary, but limit it to a single connection. This way you don't waste resources on unnecessary database connections. For these situations I use the Singleton Pattern, which is perfect for this.
(0 ratings)
Reviews0
PriceFree
Views989
Procedural vs. OOP Explained
Having trouble making the leap from procedural to object-oriented programming (OOP)? In this tutorial, I’ll explain the difference between the two styles of programming and give real-world examples on how and why you might use each. This tutorial isn’t language-specific and I won’t use any code examples, but by the end of it, I think you’ll have a better understanding of object-oriented programming and how you can apply it in your own code projects.
(0 ratings)
Reviews0
PriceFree
Views1065
PHP and MySQL Introduction Tutorial
This tutorial covers the basics of accessing a MySQL database from your PHP script. You will learn how to connect to a MySQL database, and how to execute a SQL statement. The example code will output an HTML table containing the contents of a table in the database.
(0 ratings)
Reviews0
PriceFree
Views1079
PHP Array Tutorial
This tutorial will demonstrate how to use arrays in PHP, with code examples of all fundamental array operations.
(0 ratings)
Reviews0
PriceFree
Views796
PHP Redirect Tutorial
This tutorial will demonstrate how to use PHP to perform a redirect. The PHP header function will be used to send the HTTP headers required to perform the redirect.
(0 ratings)
Reviews0
PriceFree
Views1655
PHP Resize Image Tutorial
This tutorial will demonstrate how to resize images with PHP. The ability to resize images is useful for creating thumbnails for image galleries.
(0 ratings)
Reviews0
PriceFree
Views1133
How to Install PHP 5.2 on IIS 7and Windows7
Installing PHP 5.2.10-Win32 on Windows7 32 bit is practically the same as Vista,but I had few people asking me how to do it,so I wrote a new Tutorial, and I tested all the steps on a 32bit version,so far.Read the article,it's very easy
(0 ratings)
Reviews0
PriceFree
Views1174
Empty Directories from the files
Empty Directory And delete the templete engines cached files
(0 ratings)
Reviews0
PriceFree
Views902
Basic Overview of Loops in PHP
PHP comes with several control structures for creating loops. A loop is basically code that executes repeatedly for as long as it needs to. The control structures I'll discuss here are: while, do-while, for, foreach, break & continue. Each of these are similar, and some can pretty much be interchangeable, but some are better suited for certain tasks than others.
(0 ratings)
Reviews0
PriceFree
Views734
Reading the "clean" text from DOCX and ODT
In this article we will resolve the task of reading the “clean” text from the Office Open XML (more known as DOCX) and OpenDocument Format ODT using PHP. Note that we are not going to apply any third-party software.
(0 ratings)
Reviews0
PriceFree
Views876
Reading the "clean" text from RTF
In this article we will resolve the task of reading the “clean” text from the Rich Text Format (often abbreviated as RTF) using PHP. Note that we are not going to apply any third-party software.
(0 ratings)
Reviews0
PriceFree
Views1032
Results 561-580 of 648