homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

LAMP: virtual web fileserver -Custom Files
Serve customized files from unique virtual directory

Msg#: 4172459 posted 7:00 pm on Jul 18, 2010 (gmt 0)

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


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
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!



WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4172459 posted 10:01 pm on Jul 19, 2010 (gmt 0)

It's pretty simple to whip up something like this if I understand your requirements (no shopping cart, no checkout process, no login, just serve up files at a certain URL).

I don't know of a pre-built solution, but I bet you could have it built on elance for under $100.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved