Miscellaneous
Calculate powers in PHP
posted byrumfordinMiscellaneous
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.
Reviews0
PriceFree
Views526
Calculate square roots in PHP (and other roots too)
posted byrumfordinMiscellaneous
A tutorial explaining how to calculate square roots, cube roots and other roots in PHP, with a little background too.
Reviews0
PriceFree
Views541
Calculate Net Present Value (NPV) in PHP
posted byrumfordinMiscellaneous
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.
Reviews0
PriceFree
Views813
Laravel and Angular for fetching and dispaying
posted byphpdevsamiinMiscellaneous
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.
Reviews0
PriceFree
Views669
[Beginner - Easy] Run PHP from command line!
posted byphpdevsamiinMiscellaneous
I will show you how to run PHP from command line just you running Javascript from console!
Reviews0
PriceFree
Views690
Finding duplicate array values
posted bydevelopervinaykumarinMiscellaneous
Here is a script who finds the duplicate values in an array and marks it as duplicate.
Reviews0
PriceUSD 1.00
Views555
How to login to a website using cURL extension in PHP
posted byphpdevsamiinMiscellaneous
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.
Reviews0
PriceFree
Views574
Getting RGB from Hexadecimal Colors
posted byhamdusainMiscellaneous
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 respective color values in $red, $green and $blue variables passed by reference.
Reviews0
PriceFree
Views605
PHP functions
posted byzandorinMiscellaneous
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
Reviews0
PriceFree
Views489
How to get PHP array length
posted byphpf1inMiscellaneous
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.
Reviews0
PriceFree
Views533
Parse any string in php withot without any escape character.
posted bynik00726inMiscellaneous
This is all about how you can parse any string contant without warroy about escape.
Reviews0
PriceFree
Views574
Add multilanguage support to your php site
posted by4-funbizinMiscellaneous
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.
Reviews0
PriceFree
Views778
Code Beautifier Example
posted bychrisroaneinMiscellaneous
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.
Reviews0
PriceFree
Views769
PHP Redirect Tutorial
posted bydrb072378inMiscellaneous
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.
Reviews0
PriceFree
Views1413
PHP Array Tutorial
posted bydrb072378inMiscellaneous
This tutorial will demonstrate how to use arrays in PHP, with code examples of all fundamental array operations.
Reviews0
PriceFree
Views602
Use mod_rewrite to create subdomains like URLs
posted byreconninMiscellaneous
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!
Reviews0
PriceFree
Views844
Creating a BBCode Parser
posted byStevoTVRinMiscellaneous
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.
Reviews0
PriceFree
Views1237
Count files in a folder with php
posted byzwixyinMiscellaneous
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.
Reviews0
PriceFree
Views1130
List images in a folder with php
posted byzwixyinMiscellaneous
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.
Reviews0
PriceFree
Views1766
PHP function for Basic Image Gallery
posted byvickofpakinMiscellaneous
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.
Reviews0
PriceFree
Views885