Sorry for the long and yet still somehow vague title!
A friend of mine has a Flash Action script running on a LAMP server that currently reads an xml config file. He's asked me if it's possible to remove the xml file, and replace it somehow with a system (lets call it an 'auto xml generator') that intercepts the request to read that file and generates an output, so it appears to all intents and purposes as if the file still exists and contains the contents that has actually been returned from our auto xml generator
Hours of Googling has failed to come up with any promising leads, can anyone offer any advice?
Thanks very much!
Mike
This could be implemented via FUSE (Filesystem in Userspace) if the host supports it. When mounted, have it show a single .xml file which would (conceivably) return a unique view of data to every reader.
Its not 'intercepting' system calls, open() works as normal. Its the underlying file system that understands and provides the magic.
The link is to what's needed for a PHP implementation.