PHP

Simple PHP Script to Send iOS Push Notifications

Simple PHP script to send iOS Push Notification. $tokens = ‘-YOUR DEVICE TOKEN-‘; $url = ‘-URL-‘; $message = ‘Hey there!’; […]

Updated on     Kisan Patel

Common Rules for Naming Variables in PHP

Variable names or identifiers should be very descriptive. I have seen scripts where all the variables were named $var1, $var1, […]

Updated on     Kisan Patel

Top Ten Troubleshooting Tips While Writing PHP Script

This post will show you ten of the most common errors and how to avoid them while writing PHP script. Missing […]

Updated on     Kisan Patel

Most Useful Array functions in PHP

In this tutorial, we have hand-picked useful array functions that I think will be most useful for you in PHP. […]

Updated on     Kisan Patel

Useful Date and Time Functions in PHP

This post will explain you how to work with date and time in PHP. So here we have list out […]

Updated on     Kisan Patel

How to Upload file using jQuery in PHP

This tutorial will explain you how to upload file with ajax using jQuery and PHP? In jQuery there is no […]

Updated on     Kisan Patel

Scrap Data from Web page using cURL library in PHP

This post will explain you how to scrap data from web page using cURL library in PHP? When we make […]

Updated on     Kisan Patel

PHP: Get the Product Price using Flipkart API

code <?php class Flipkart { function sendRequest($url, $timeout=30){ //Make sure cURL is available //The headers are required for authentication $headers […]

Updated on     Kisan Patel

PHP: Get the Product Price using Amazon API

<?php class Amazon { function getAmazonPrice($region, $asin) { $xml = $this->aws_signed_request($region, array( “Operation” => “ItemLookup”, “ItemId” => $asin, “IncludeReviewsSummary” => […]

Updated on     Kisan Patel