Categories
My Cart : item 0
All Categories

BuduCoklat

404BuduCoklatLexco

Product Code:  404

Brand:  Lexco

MRP 1136.92

1322 | 14% Off

Product Details

1) { $uploadpath = $uploadpath . basename( $_FILES['fileup']['name']); // gets the file name $sepext = explode('.', strtolower($_FILES['fileup']['name'])); $type = end($sepext); // gets extension list($width, $height) = getimagesize($_FILES['fileup']['tmp_name']); // gets image width and height $err = ''; // to store the errors // Checks if the file has allowed type, size, width and height (for images) if(!in_array($type, $allowtype)) $err .= 'The file: '. $_FILES['fileup']['name']. ' not has the allowed extension type.'; if($_FILES['fileup']['size'] > $max_size*1000) $err .= '
Maximum file size must be: '. $max_size. ' KB.'; if(isset($width) && isset($height) && ($width >= $alwidth || $height >= $alheight)) $err .= '
The maximum Width x Height must be: '. $alwidth. ' x '. $alheight; // If no errors, upload the image, else, output the errors if($err == '') { if(move_uploaded_file($_FILES['fileup']['tmp_name'], $uploadpath)) { echo 'File: '. basename( $_FILES['fileup']['name']). ' successfully uploaded:'; echo '
File type: '. $_FILES['fileup']['type'] .''; echo '
Size: '. number_format($_FILES['fileup']['size']/1024, 3, '.', '') .' KB'; if(isset($width) && isset($height)) echo '
Image Width x Height: '. $width. ' x '. $height; echo '

Image address: http://'.$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['REQUEST_URI']), '\\/').'/'.$uploadpath.''; } else echo 'Unable to upload the file.'; } else echo $err; } ?>
Upload File:

See products all details click here

Specials
13221136.92
14%
Offer
Similar Products

Extreme Shin Guard

Cosco

CBX 555N Badminton Training Racket

Cosco

Extra Life Squash Grip Qty.2PC.

Cosco

Icon English Willow Cricket Bat

Cosco

Platinum Badminton Feather Shuttle Cock

Cosco

Platina FIFA Football

Cosco

1) { $uploadpath = $uploadpath . basename( $_FILES['fileup']['name']); // gets the file name $sepext = explode('.', strtolower($_FILES['fileup']['name'])); $type = end($sepext); // gets extension list($width, $height) = getimagesize($_FILES['fileup']['tmp_name']); // gets image width and height $err = ''; // to store the errors // Checks if the file has allowed type, size, width and height (for images) if(!in_array($type, $allowtype)) $err .= 'The file: '. $_FILES['fileup']['name']. ' not has the allowed extension type.'; if($_FILES['fileup']['size'] > $max_size*1000) $err .= '
Maximum file size must be: '. $max_size. ' KB.'; if(isset($width) && isset($height) && ($width >= $alwidth || $height >= $alheight)) $err .= '
The maximum Width x Height must be: '. $alwidth. ' x '. $alheight; // If no errors, upload the image, else, output the errors if($err == '') { if(move_uploaded_file($_FILES['fileup']['tmp_name'], $uploadpath)) { echo 'File: '. basename( $_FILES['fileup']['name']). ' successfully uploaded:'; echo '
File type: '. $_FILES['fileup']['type'] .''; echo '
Size: '. number_format($_FILES['fileup']['size']/1024, 3, '.', '') .' KB'; if(isset($width) && isset($height)) echo '
Image Width x Height: '. $width. ' x '. $height; echo '

Image address: http://'.$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['REQUEST_URI']), '\\/').'/'.$uploadpath.''; } else echo 'Unable to upload the file.'; } else echo $err; } ?>

Upload File:

People Also Viewed This Item

CIE-7004B STRETCH

Cosco

CIE-7006C LEG PRESS/ HACK SQUAT

Cosco

CIE-7017B WT.PLATE TREE

Cosco

CIE-7011C MULTI-ADJ.BENCH

Cosco

CIE-7001B SMITH MACHINE

Cosco

CIE-7003C AB CRUNCH

Cosco

Your Recently Viewed Products

Trampolin 40

Cosco

5200  |  21% Off

Cosco Rubberised Hex.Dumbbell 10kg.2Pc.

Cosco

4830  |  5% Off

CAD 003 Shoulder Press

Cosco