PHP Classes

Fix en setImage method

Recommend this page to a friend!

      PHP Image Sizer  >  All threads  >  Fix en setImage method  >  (Un) Subscribe thread alerts  
Subject:Fix en setImage method
Summary:Fix en setImage method
Messages:4
Author:Robert Galeano Fernandez
Date:2017-02-22 16:28:10
 

  1. Fix en setImage method   Reply   Report abuse  
Picture of Robert Galeano Fernandez Robert Galeano Fernandez - 2017-02-22 16:28:10
In Line: $imgex = end(explode('.', $imgfile));

Replace with: $explodeimgex = explode('.', $imgfile);
$imgex = end($explodeimgex);

Because end() function only receive string params.

  2. Re: Fix en setImage method   Reply   Report abuse  
Picture of Mohamed Elbahja Mohamed Elbahja - 2017-02-22 17:57:09 - In reply to message 1 from Robert Galeano Fernandez
Thank you :)

  3. Re: Fix en setImage method   Reply   Report abuse  
Picture of Robert Galeano Fernandez Robert Galeano Fernandez - 2017-02-22 19:00:33 - In reply to message 2 from Mohamed Elbahja
The same problem in method saveTo()

  4. Re: Fix en setImage method   Reply   Report abuse  
Picture of Mohamed Elbahja Mohamed Elbahja - 2017-02-22 22:12:13 - In reply to message 3 from Robert Galeano Fernandez
has been updated :) thank you