hi all.. I am looking for an easy way to let my clients update minor portions of their websites. These are mostly just lists of retailers that are using selling their products, which change monthly.
@AdamGundrySep 14.2004 — #You're probably going to need a server-side language if you want anything more user-friendly than direct FTP access to your server. My personal preference would be PHP, but any other language such as Perl or ASP would do just fine. Which language(s) do you have available on your server?
@AdamGundrySep 14.2004 — #In that case, I suggest you post in one of the PHP or Perl forums. This script will take a little work, and someone may have something already available. I can do it in PHP, but it will take some time.
@NogDogSep 14.2004 — #My first thought would be something like this, using PHP:
Each user has a PHP web page "webpage.php" and an include file "include.txt" which has the user-changeable stuff; and there would be a separate PHP file "update.php" for changing the include file.
webpage.php: [code=php] <html> <p>(start of web page)</p> <h2>some sort of list</h2> <ul> <?php $lines = file("include.txt"); foreach($lines as $line) { echo "<li>$line</li>n"; } >? </ul> <p>(rest of web page)</p> </html> [/code]
include.txt: <i> </i>item 1 item 2 etc...
The update.php would be a bit more involved, in that you would probably want some sort of login security, form validation and processing, etc., but it's really not all that difficult. At its simplest the form could just be a single textarea input field and a submit button.