Hello friends!
I have xampp on Windows 7 for many years - everything ok but now I have unusual problem. My website was working on http just fine. From my PHP script I sometimes call other scripts for example:
$x = file("http://mywebsite.com/do_something.php");
Last week I changed my website to https:// via CloudFlare. Website still works okay but I noticed that my file() commands cannot execute anymore. Now my script wants to do this:
$x = file("https://mywebsite.com/do_something.php"); <-- notice https, not http
and file() command doesn't work. I am assuming it is problem with Windows or Apache conf that PHP now cannot use file() to https. Does anyone know how can I fix this? I am using xampp control panel 2.5.8. (many years old!) - I don't want to reinstall because it is PHP3 on that server I just want to be able to use https with file().
Thanks!
Matjaz