post icon

Php error URL file-access is disabled in the server configuration

If your have ever got this error:

URL file-access is disabled in the server configuration

Using php functions like fopen, getimagesize it’s because your using a absolute path. It’s a security thing so that people can’t run scripts to open files on other servers other than there own. You can change this by configuring the php.ini file. But I wouldn’t.

No comments yet.

Leave a comment