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

New Scripts | PHP | Tutorials & Tips

Results 101-120 of 648
5 Basic PHP Security Tips
posted byStevoTVRinSecurity
Security should be a top concern throughout the development of any PHP web application. There are some very simple measures you can take to protect your application from potential abuse. This post will cover some of the basics of PHP security.
(7 ratings)
Reviews1
PriceFree
Views908
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
Views840
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
Views825
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
Views1058
PHP File Upload Tutorial
This tutorial will demonstrate how to handle file uploads in PHP. The example will show how to create a simple XHTML form with a file field, and a PHP script that handles the form submission by moving the uploaded file to a designated directory.
(3 ratings)
Reviews0
PriceFree
Views746
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
Views517
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
Views797
How to validate a date without having to put together regular expressions in PHP
When validating dates in PHP you can either do it the hard way, by spending some time putting together a regular expression, or the easy way, by using a predefined function.
(3 ratings)
Reviews0
PriceFree
Views592
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
Views652
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
Views670
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
Views603
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
Views956
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
Views792
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
Views675
Generating HTML5 Documents 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 explore the DOMDocument class by generating an entire HTML5 page without writing a single bit of raw markup. This may not be practical for most applications, but it should give you a good idea of how the basic DOMDocument methods work.
(3 ratings)
Reviews0
PriceFree
Views762
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
Views746
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
Views750
PHP Calendars
First of all try to collect the necessary information which are important to display the actual month and highlight the actual day. Besides this we want to display the actual month and year informations as well. To do this we need 3 special days informations: 1. The actual day 2. The first day of the actual month 3. The last day of the actual month
(7 ratings)
Reviews0
PriceFree
Views1058
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
Views713
Macronimous - Codeigniter for PHP application development
With many software frameworks available online nowadays, with many pros and cons on their side, it has become very important to check out complete details of these frameworks before applying them. Amongst the various kinds of software frameworks, the PHP Framework is more popular nowadays.
(6 ratings)
Reviews0
PriceFree
Views650
Results 101-120 of 648