This probably won't work, but does anyone know if there's support for includes over http through a password? I have files on one server that require a password to access, and I want to include them from another. I know that a regular include over HTTP works. The best way for me to explain the password thing is for you to go to http://www.kleckner.net/reid/ . There's a little dialogue, I just forget the name of that password device.
http://userid:password@www.kleckner.net/reid/
The include didn't work. Hm... It works as a browser URL however. I don't know why it does that.
Thanks, though. I was wondering how to make the password part of the URL as well.
I don't think include () works for HTTP connections, just for files on your server. You could try eval (readfile ('http...')); instead of include ('http...');
I'm pretty sure that include() works over HTTP, just not in the same sense that it does locally. You can't get functions and stuff like that, but you can get output. I'll try readfile(), though.
Thanks! Yes, readfile() did the trick. And thanks for tolerating my vague description.