View Categories

Miscellaneous

Calculate powers in PHP

In this tutorial, we describe how to calculate square, cube and higher powers using math functions of PHP. We also say how to avoid possible pitfall by using syntax from other languages.

Rated 0.00 out of 5

Views: 14

Price: Free

Calculate square roots in PHP (and other roots too)

A tutorial explaining how to calculate square roots, cube roots and other roots in PHP, with a little background too.

Rated 0.00 out of 5

Views: 22

Price: Free

Calculate Net Present Value (NPV) in PHP

A guide to calculating net present values, or NPV, using a PHP script. First we give a bit of background as to the theory, then show you how to create some PHP code to do the calculation.

Rated 0.00 out of 5

Views: 23

Price: Free

Laravel and Angular for fetching and dispaying

In this quick tutorial you will learn how to retrieve users from MYSQL server using PHP framework Laravel and then how to make request to Laravel using angular.js and displaying it in a simple table.

Rated 0.00 out of 5

Views: 12

Price: Free

[Beginner - Easy] Run PHP from command line!

I will show you how to run PHP from command line just you running Javascript from console!

Rated 0.00 out of 5

Views: 13

Price: Free

Finding duplicate array values

Here is a script who finds the duplicate values in an array and marks it as duplicate.

Rated 0.00 out of 5

Views: 10

Price: USD 1.00

How to login to a website using cURL extension in PHP

In this quick tutorial I am going to show you guys how to login to a website using cURL extension in PHP. Here is two different tutorials that will help you understand this tutorials. Please have a look at them before you proceed.

Rated 3.50 out of 5

Views: 14

Price: Free

Getting RGB from Hexadecimal Colors

When working with CSS, it is common to use Hexadecimal Notation of colors, while on the back end, many PHP functions (like imagecolorallocate, imagecolorclosest, imagecolorexact etc, require that you pass on colors as red, green and blue
integers. This function can be helpful if you need to convert hexadecimal color literal to red, green and blue int values for use elsewhere. This function accepts hex, converts to RGB and stores the respec...

Rated 0.00 out of 5

Views: 86

Price: Free

PHP functions

This PHP functions removes portions from a string, given the two delimiters.
More options are also given: remove all occurrances, once n-th occurrance, all before the n-th occurrance

Rated 0.00 out of 5

Views: 32

Price: Free

How to get PHP array length

In this tutorial I will show you how to determine the length and / or the size of a PHP array. You will learn the most important methods how to use PHP functions to get length, size and memory used by the array information.

Rated 0.00 out of 5

Views: 45

Price: Free

Parse any string in php withot without any escape character.

This is all about how you can parse any string contant without warroy about escape.

Rated 0.00 out of 5

Views: 100

Price: Free

Add multilanguage support to your php site

Easy to setup and implement script, that adds multi language support to your site. The script is based on a single language file, that contains all the translations.

Rated 0.00 out of 5

Views: 238

Price: Free

Code Beautifier Example

There are different methods and plugins you can implement to display code on your WordPress blog. After much testing and frustration, I've come across the best code formatting method that does not require a WordPress plugin (and can be implemented on any website). This tutorial guides you through setting this up on your website.

Rated 0.00 out of 5

Views: 124

Price: Free

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.

Rated 0.00 out of 5

Views: 226

Price: Free

PHP Array Tutorial

This tutorial will demonstrate how to use arrays in PHP, with code examples of all fundamental array operations.

Rated 0.00 out of 5

Views: 112

Price: Free

Use mod_rewrite to create subdomains like URLs

You might have noticed some sites having their URLs written as if they were different subdomains of the same domain. You can do this without creating the actual subdomains, using Apache mod_rewrite.
Read this tutorial to learn how!

Rated 0.00 out of 5

Views: 204

Price: Free

Creating a BBCode Parser

Have you ever wanted to implement BBCode, the special formatting codes used by forums, into your own PHP scripts? Well, it's actually pretty easy to accomplish using some simple regular expressions and the preg_replace PHP function. This mini-tutorial will show you how to create a function that you can use on any string to convert BBCode into its XHTML equivalent.

Rated 0.00 out of 5

Views: 534

Price: Free

Count files in a folder with php

If you need to count files in a folder using PHP then this little piece of php is just for you. Easy to add and change.

Rated 0.00 out of 5

Views: 391

Price: Free

List images in a folder with php

After i needed something like this for myself i decided to make a page of rit so that other people who need it can use it too. This little code will basically list every image in a folder using php. You can alter it in every way you can/want.

Rated 1.50 out of 5

Views: 1111

Price: Free

PHP function for Basic Image Gallery

This PHP function is a very basic one, yet useful for a single page image gallery within a small website. It reads all the images from given folder and creates a simple looking gallery with given sized thumbnails.

Rated 0.00 out of 5

Views: 328

Price: Free

Error

Success

<>