I've never tried that function before so I can't offer to much help on it. I tried your link (http://my.web.server/testing/something.txt) and I got a 502 error, not sure if that's relevant to anything.
One option to access the file is to put it into a database (using blob types), then run the query when appropriate. That seems like a lot of hassle though for something so simple doesn't it?
This is another idea that might be a lot easier but is completly untested, I'd try using .htaccess to lock the directory and then use a php script that creates link via ftp.
I also found this just borwsing google. I haven't looked to deep into it yet, but this may be something along the lines of what you're looking to do, http://koivi.com/php-http-auth/
if you're still getting stuck a bit, throw me as much info as you can about what you're looking to do and a bit of how you're looking to do it.
If con is the opposite of pro, is Congress the opposite of progress?
haha the link wasn't an actual link, just an example.
i've never used a blob before... it just holds the file as it is would be on the computer?
that could work.
would using a blob be bad for the system memory?
a quick google search said that the size of a blob is limited by system memory. Would it cause problems if a fairly large number of people were trying to get the blob at the same time?
Friend's kid: Mommy, what's church?
Mommy: Church is where people go to learn about God.
kid: Who's God? Does he teach karate?
blobs are kind of an inconvenient necessity. i've read about people splitting a file into a number of blob entries to cut down on memory usage at any given moment. and they do take a fair time longer to load since they're being pulled from the database. One of the sites I work on has a file upload option and it's a load balanced server. lol we're technically not susposed to allow uploads to the servers, but if it's what the client wants it's what they get. so when they upload the file, it gets placed on the server they're running off of (since they aren't fans of this happening, thus no syncing options), we upload to the DB. it's kind of annoying, but it serves it's purpose. There are other benefits too but i can't think of them for the life of me, lol.
If con is the opposite of pro, is Congress the opposite of progress?
I have my own personal laptop which is running apache that I do the coding and basic testing on. The company has the main web server, and a test server (which started out as a copy of the live server, and has fallen behind from there, but it is still similar enough for my current purposes).
Unless you are doing plain html you will probably want some kind of test machine.
Friend's kid: Mommy, what's church?
Mommy: Church is where people go to learn about God.
kid: Who's God? Does he teach karate?
I see what I was doing wrong. I only gave myself the right permissions in the source folder, I needed to do the same in the link's containing folder too.
working now.
Friend's kid: Mommy, what's church?
Mommy: Church is where people go to learn about God.
kid: Who's God? Does he teach karate?