I am looking for simple inexpensive script to run on a Linux/Apache/MySql/PHP server.
This website will be for virtual customized file requests
mysite.com/files/3456/myfile.doc
The directory "3456" is a virtual directory whose name is contained in the MySQL table. It is a unique directory and in the same row is the client name "Jane Smith"
When the web request comes in for the /files/ subdirectory,
A lookup is done in the db to see the directory name 3456
and that this is for "Jane Smith"
A simple file process can do a fixed length character
substitution to replace #*$!#*$!#*$!#*$! with "Jane Smith " (padded with spaces).
There is one master file with the #*$!#*$!#*$!x replacement
area.
And
immediately the file is served.
Essentially this site has no webpages, just the
serving of the target doc file.
Are there simple available PHP scripts that
can do this? My google search turns up alot
of complicated solutions... I'm looking for
simple and fast. Thanks!