
 Alekos Psimikakis - 2017-10-21 06:08:52
 
Hi Juan
About breaking the image filepath that I mentioned in my rating comments, there's a standard (and easier) way of doing it:
  $dir = pathinfo($tgt_image,PATHINFO_DIRNAME);
  $name = pathinfo($tgt_image,PATHINFO_FILENAME);
  $ext = pathinfo($tgt_image,PATHINFO_EXTENSION);