Hello!
There is already a thread that was created that touched on this issue, but it was locked.
My host provider is no longer allowing fopen and fgets command calls due to security issues and CURL was suggested as an alternative method to achieve the same results.
Here is a snippet of the code which is giving errors in my php script:
I know this is probably a very simple fix, but my knowledge of CURL is limited at best, any help would be appreciated! Thank you.
There is already a thread that was created that touched on this issue, but it was locked.
My host provider is no longer allowing fopen and fgets command calls due to security issues and CURL was suggested as an alternative method to achieve the same results.
Here is a snippet of the code which is giving errors in my php script:
Code:
if($address!='')
{
$fp = fopen($address,"r");
$i=0;
while($i<1000){
$html_data.=fgets($fp);
$i++;
}
I know this is probably a very simple fix, but my knowledge of CURL is limited at best, any help would be appreciated! Thank you.
Last edited:






