Jump to content

blackcat1313

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

blackcat1313's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi cooldude, thanks but the PHP manual says that file_get_contents needs allow_url_fopen set On to use a URL as the file name. That's what I'm trying to avoid... "You can use a URL as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename and List of Supported Protocols/Wrappers for a list of supported URL protocols."
  2. Thanks Scott, I will investigate using cURL. First thing is to see if my web host has it installed. Hi Rohan, doing it this way is going to need allow_url_fopen set on. As would include, fopen, and any of the other file manipulation functions. I think I may be able to get it using FTP, copy it locally, then use include to read it in. So I've got a couple of things to try. Thanks. Bill
  3. Yes, but doesn't that require you to enable allow_url_fopen? My understanding is that this opens a security hole and many hosts don't allow it.
  4. I would like to get a remote file using HTTP and put its contents in a local page. The function readfile() would do this very nicely, except you have to have allow_url_fopen set On. My understanding is that this creates a security hole and many hosts have it disabled. There are other functions too, like file_get_contents(), but they are all going to need allow_url_fopen in order to work. Is this really a security problem? If so, how can I get the file? Thanks! Bill Osberg
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.