Code: Select all
// Since we aren't allowed to use URL's bomb out
return false;
Code: Select all
// Since we aren't allowed to use URL's bomb out
echo "allow_url_fopen is not allowed";
return false;
The later version have a feature built in where by we fall back to fsockopen if fopen is not allowed for URLs