PHP

$characters = 'abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789!@#$%^&*()'; $len = strlen($characters) - 1;
$TimeStr = "2014-01-01 06:00:00 AM"; $current_tz = date_default_timezone_get();
Following code will  flip image in vertical/horizontal/both $imageSrc = imagecreatefrompng(SOURCE_IMAGE_PATH); $imageSrc = ImageFlip($imageSrc, 3);