$maxPixelSize) || ($pixelsize[1]>$maxPixelSize)) { $err_msgs .= "The file $Picc you selected is $pixelsize[0] X $pixelsize[1] pixels and is too large to be uploaded!
"; } } else { $err_msgs .= "The file $Picc is not an image. Files of type $img_type are not allowed to be uploaded!
"; } } else { $err_msgs .= "The file $Picc you selected to upload is too large to be uploaded!
"; } } else if($img_size=="0") { $err_msgs .= "The file $Picc was not found!
"; } } /* if ($PhotoT == "Change_Photo" && empty($Picc)) { $err_msgs .= "No image uploaded!
"; } */ // else // $err_msgs .= "The file for Logo is left empty.
"; } if(!empty($err_msgs)) field_error($err_msgs, $sendtourl, $frm); $today_date = date("d/m/Y"); if ($PhotoT == "Keep_Photo") { $Picc=$imghidden; } if ($PhotoT == "Remove_Photo") { $Picc=""; if(!empty($imghidden)) { $filep=$imghidden; unlink("uploaded/".$filep); } } if ($PhotoT == "Change_Photo" || $PhotoT == "") { //imguploadstart $Picc = $HTTP_POST_FILES['pic']['name']; if(!empty($Picc)) { $temp = $HTTP_POST_FILES['pic']['tmp_name']; $uniq = uniqid(""); $Picc = $uniq."_".$Picc; $upload = "uploaded/".$Picc; copy($temp, $upload); if(!empty($imghidden)) { $filep=$imghidden; unlink("uploaded/".$filep); } } } ########### image upload end ######## $today=date("Y-m-d"); mysql_query("INSERT INTO `meltlist`.`meltlist_story` ( `story_id` , `name` , `email` , `story_title` , `desc` , `pic` , `date_add` , `active` ) VALUES ( '', '$_POST[name]', '$_POST[email]', '$_POST[story_title]', '$_POST[desc]','$Picc', '$today','N' )"); $id=mysql_insert_id(); $sql_sel = mysql_query("select * from ".TABLEPREFIX."_story WHERE story_id='$id'"); $no=mysql_num_rows($sql_sel); $val=mysql_fetch_array($sql_sel); $pic=$val[pic]; } ?> Merkas Health

You don't know untill you know...! "Its all about the list"

Recent Blog Post

Blokes (men) don't shop!

I'm not afraid to say that my closet contains more than 4 of the same white colour t-shirts.. Life is practical and easy!

So choosing a "shop me" melt was stepping out of my confort circle, but let me tell you...

Blokes (men) don't shop!

Seven Ha Ha Ha

0) { ?>
Tell us your true melt story
   
Name:
Email Address:
True Story title:  
Description :
  You can upload a JPG, GIF OR PNG file
Upload Image: $SH) { $ScH = $SH; $ScW = $Wdt - intval((($Ht - $SH)/$Ht)*$Wdt); } if($Wdt > $SW && $Ht <= $SH) { $ScW = $SW; $ScH = $Ht - intval((($Wdt - $SW)/$Wdt)*$Ht); } if($Wdt > $SW && $Ht > $SH) { if($Wdt==$Ht) { $ScW = $SW; $ScH = $SH; } else { if($Wdt!=$Ht) { if($Wdt > $Ht) { $ScW = $SW; $ScH = $Ht - intval((($Wdt - $SW)/$Wdt)*$Ht); } else { $ScH = $SH; $ScW = $Wdt - intval((($Ht - $SH)/$Ht)*$Wdt); } }//if($Wdt!=$Ht) else { $ScW = $SW; $ScH = $SH; } }//else of if($Wdt==$Ht) } ?>
 
" height= width="">
> Keep Image Change Image
Image adjest
 
  File size limit is 4mb. If your upload doesn't work, try a smaller pic.
  I certify that i have the right to distribute this picture and that it does not violate the Terms of use.