Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Each folder will have a script which reads in and displays particular files found in their specific folder.
The problem/question is from this..
The admin sets up all the login data for all users in his own admin panel. He includes some text which must be included for each individual user (each user has their own welcoming message or account details displayed on screen).
So each user will essentially have their own script to read directory files and post a custom message to them. Unless you can think of a way to have ONE centralized script which I can get for all accounts, I have no idea how to get this to work.
When the admin creates the account then, the script would need to move the index.cgi to the new folder they created. But on top of this, the script would also need to automatically edit the source code for the file for that particular user.
So essentially it would be a CGI configuring another CGI after creating it in a directory.
I have zero idea if anyone is understanding any of this, I am just confused as to what to do and how to do it. I would like ONE script for everyone but they are redirected to their own folders.
Any ideas or comments are welcome.
|
|---|