What I didn't want to see after moving the [working] site from local to remote:

Warning: file() [function.file]: URL file-access is disabled in the server configuration...

Warning: file(http://ufl.edu) [function.file]: failed to open stream: no suitable wrapper could be found...

I know why it's caused, just wondering if anyone had any alternative methods to do what I need to do since I doubt the web host is going to want to enable this for me 🙂

Basically, all I need to do is get the source of a given webpage (i.e. http://domain.com/file.html) into a string or array. And no, I'm not spidering any webpages, it's for a different reason 🙂

Best,
aksival

    A quick phpinfo() and it looks like curl is installed...works nicely, too, although more code for this application.

    thanks NogDog 🙂

      Write a Reply...