Skip to content
Tareq Hasan

TagPHP

Activate cURL in XAMPP

cURL is a command line tool for transferring files with url syntax. cURL has a library for php. Working with scripts that need cURL, we must have cURL support. In xampp, cURL support is not enabled built-in. Within a second we can activate cURL library. You just need to follow the simple steps: 1. Go …

Formatting date, time and time zone with php

Formatting date, time and time zone with php is a very easy task. You may have a date string in your database like (March 7, 2009, 5:16 pm), (03.10.01), (Sat Mar 10 15:16:08 MST 2001) or as a timestamp like (1232886599) or something else. But you want to show this time in other formats. As …