Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
php

Featured

PHP array to JavaScript array conversion

Sometimes, I feel a need to get a PHP array in my JavaScript code. Earlier I make use of implode function of php but recently found new way using json_encode that works very effectively. Here is my php array: <?php $cool_epl_clubs_php =...

Sending xml data in post using curl

$xmldata =' <mail> <receive>you</receive> <sender>Surit</sender> <subject>Call me</subject> <message>XYZ</message> </mail> '; $url = "your url"; $curlConn = curl_init($url)...

Features for an e-Commerce Online Store

What is an e-Commerce? e-Commerce is doing business online and electronically. e-Commerce is about buying and selling products and services on the Internet. The sellers are individuals, small businesses or large corporations. The buyers are...

Using Auth method for login in cakephp

First of all load the component in the controller lets say UsersController using the below code $this->uses=array(Auth); login.view: <?php echo $this->Form->create('User', array('id'=>'signUpForm','name'=>'userSignu...

Date/Time Operations in php

Sometime there is a need to perform different operation on dates for ex: You may need to : 1) Add two dates/time 2) Subtract two dates/times for ex- to calculate your age by deducting your date of birth from current date. And many m...

Formatting time

Some time you may need to find the day, hour and min and seconds for ex: *you entered a number 105 and you want 1h-45Min ago* then you can simply use the following function although you can use your custom function as well depends on the...

Decomposing the associative array in chunks based on their keys

Consider you have two arrays like the below: 1) $arr1 = Array ( [0] => 2 [1] => 2 [2] => 2 [3] => 3 [4] => 3 ) 2) $arr2 = Array ( [0] => 28 [1] => 48 [2] => 21 [3] ...

iphone and Android Push Notification API

Push notifications are messages that allow an app to notify of a message similar to how a text message pops up on your screen with a sound. Code for Android ,Iphone API push notification is given below by using urbanairship. 1.Android Push No...
1 13 15 next
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: