Read PHP Function?

Is the readfile() php function disabled or blocked ??

And if it is, is there any way for me to enable it ?? i am trying to run a free adoptables site script but the images dont show…

This is the message i get :

The image “” cannot be displayed, because it contains errors.


You must not use readfile() with an URL as parameter (URL-fileaccess has been disabled for security reasons). Use relative or absolute paths instead and it will work.

Thank you for your reply :slight_smile:

Can you edit this line to show me as an example ?


I think it’s not possible that way because you must access the image via filesystem, and there are, as far as i know, no url parameters possible.