Unfortunately when i switched to https protocoll the script doesn't work anymore.
Does anyone know how to make this script working with https protocoll?
Or, if possible, tell me another script with the same functionalities.
Thanks in advance for any help.
Mike stopped support of this project since 2014
Regards,
Alessandro
I found no problems with this script, similar code was used in the past for the space-weather script to cache images.
I tested with Version: 1.99.4 26-Apr-2014 using
=> PHP 8.0.7,
=> on a https website,
=> with the unchanged script
=> fresh download
https://www.642weather.com/weather/scripts/multifunction-image-handler.php?sce=view=> using the default image and one other image
=> both images are on a https website.
$ImageURL = 'https://www.642weather.com/weather/webcamimage.jpg';
$ImageURL = 'https://admin.meteobridge.com/cam/f900b6e9aaab99089f17dd823487fc98/camplus.jpg';
Both tests work correct, a correct resized image was shown, and the temp and cached version were created and used also.
The script uses curl to fetch the image and https support should therefor be no problem.
Line 138 should start with
https if the image should be loaded from a https website.
Can you
=> explain what the problem is?
=> and post the url of the script you are using?
Wim