Posts

Function Oriented File Upload PHP

Image
Put the Following Function here: <?php function uploadimgfile($index,$folder="other",$prefix="other") { $target_dir  = "upload_directory_path/";  // try to put full physical path  // identity accstatement address advtimg other $uploadOk = 1; $senddata = array(); $senddata['data'] = "NILL"; $notallowed = array("php","js","css","html");  // defined here the extesion not to upload $shownotallowed = "PHP, JS, CSS, HTML fie is not allowed to upload."; $extension = explode(".",basename($_FILES[$index]["name"])); $extension = end($extension); ECHO "<hr/>" . $realfilnename = basename($_FILES[$index]["name"]); $datetofolder = date("Y/M/d"); $datetofolder = strtolower($datetofolder); $checkdirectory = $targ

Indian Premier League, 2nd match: Rising Pune Supergiant v Mumbai Indians at Pune, Apr 6, 2017

Image
Mumbai Indians  184/8 (20/20 ov) Rising Pune Supergiant  187/3 (19.5/20 ov) Rising Pune Supergiant won by 7 wickets (with 1 ball remaining) Indian Premier League  - 2nd match Twenty20 match  |  2017 season Played at  Maharashtra Cricket Association Stadium, Pune 06 April 2017 - night match (20-over match) Mumbai Indians innings  (20 overs maximum) R B 4s 6s SR PA Patel † b Imran Tahir 19 14 4 0 135.71 JC Buttler lbw b Imran Tahir 38 19 3 3 200.00 RG Sharma * b Imran Tahir 3 7 0 0 42.85 N Rana c Bhatia b Zampa 34 28 1 2 121.42 AT Rayudu c & b Bhatia 10 12 0 0 83.33 KH Pandya c †Dhoni b Bhatia 3 5 0 0 60.00 KA Pollard c Agarwal b Stokes 27 17 3 1 158.82 HH Pandya not out 35 15 1 4 233.33 TG Southee run out (†Dhoni/Dinda) 7 3 0 1 233.33 MJ McClenaghan not out 0 0 0 0 - Extras (b 1, lb 1, w 6) 8 Total (8 wickets; 20 overs) 184 (9.20 runs per over) Did not bat JJ Bumrah Fall of wickets   1-45 (Patel, 4.2 ov) ,  2-61 (Sharma, 6.3 ov)