Home /Category /php /

Posts with Category php

2:17 am, April 23, 2017
Original Post Date: 12:03 am, August 26, 2014 Shows the difference between now and a timestamp, you could also replace this with another timestamp to get the difference between another timestamp. function time_diff_days($your_date) { $now = time..

2:17 am, April 23, 2017
Original Post Date: 11:44 am, September 22, 2014 Post back to a URL using curl ..

2:17 am, April 23, 2017
Original Post Date: 2:25 am, September 26, 2014 Can be handy for quick debugging of a php app these 2 lines usually do it. error_reporting(-1);ini_set('display_errors', 'On');..

2:17 am, April 23, 2017
Original Post Date: 1:21 am, October 15, 2014 ..

2:17 am, April 23, 2017
This probably should be titled The Best way to do URL Routing simply in PHP In my opinion. They key words are simply and best. I think i have simply and best covered for my usage. Your usage of these methods might totally differ but for me i hav..

2:17 am, April 23, 2017
Here is a fairly (not exactly) accurate php function to get the australian state string from a postcode number range.   Usage: echo get_state_au(2000); /* display the state code */$state = get_state_au(2000); /* assign the state c..

2:17 am, April 23, 2017
Original Post Date: 2:49 am, September 30, 2013 Here are just some of the links i have found interesting in the last... few days. Homer: There's three ways to do things. The right way, the wrong way, and the Max Power way!Bart: Isn't that the wrong ..