"Manuel Lemos" <mlemos@acm.org> wrote in message
news:33epfnF3vo161U1@individual.net...[color=blue]
> Hello,
>
> on 12/29/2004 02:08 AM ARGENTINA said the following:[color=green]
> > I ve been trying php script sent by rchaplin and all goes ok
> > automatically appears a new file copied after script execution but it
> > appears a messaje like next one:
> >
> > Warning: fopen(): URL file-access is disabled in the server
> > configuration in /home/freehost/t35.com/n/a/nacion/p/new.php on line
> > 10
> >
> > and then the new file is empty.
> > How can I solve that?[/color]
>
> It seems your host disallowed getting remote pages with fopen. You may
> want to try this HTTP client class but I suspect that fsockopen calls
> may be disallowed too. In any case, you can always try it to see if you
> have any luck.
>
>
http://www.phpclasses.org/httpclient[/color]
allow_url_fopen only controls stream wrappers. The ISP might have disabled
it just to prevent PHP injection exploits. fsockopen should still work
unless it's explicitly forbidden.