php fread not working possibly
I have a php script that uses php fopen and fread to copy images from a remote server. It was working yesterday. Today it suddenly doesn't work with no error reported or warnings. And I haven't changed the script code in a long time.
fopen seems to work okay. On the call to fread it seems like the script just exits without saying anything.
Another odd thing is a different php script, in a different directory also does the same function and it's still working fine it seems.
fopen seems to work okay. On the call to fread it seems like the script just exits without saying anything.
Another odd thing is a different php script, in a different directory also does the same function and it's still working fine it seems.
Thank you for your question. We are happy to help, but is difficult to troubleshoot this issue with the limited information.
Can you provide a link to the website/script that we can look at?
Do you have permission to connect to the remote server?
Can you provide a link to the php script that is functional?
If you have any further questions, feel free to post them below.
Thank you,
-John-Paul