/    Sign up×
Community /Pin to ProfileBookmark

end user administration

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.

Any one have any ideas?

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@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?

Adam
Copy linkTweet thisAlerts:
@marius2002authorSep 14.2004 — I have php v. 4.3.8 loaded on the server, Perl version 5.6.1. At the very least - both are available...
Copy linkTweet thisAlerts:
@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.

Adam
Copy linkTweet thisAlerts:
@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.
×

Success!

Help @marius2002 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...