?
Solved

self updates of HTML pages

Posted on 1999-11-26
7
Medium Priority
?
201 Views
Last Modified: 2013-12-25
I must allow people to update their own page with a few lines. I thing the easiest is to pasword protect a cgi which rebuilds the entire page with the entries. But I have not get time yet to really learn Perl.
Could someone help me in telling me what to do :
-  about the password
-  about the general structure (I fear wasting a few hours finding back the basics about file entry/reading as I have no perl book  in here).
0
Comment
Question by:toulon
  • 4
  • 2
7 Comments
 
LVL 1

Expert Comment

by:BrainMaster
ID: 2239947
Not sure what server your using but I'm using apache and one thing I learned is that apache can have username/password protected directories. You can then put your cgi scripts/html in this folder. Inorder to get to the script they would need a valid user/pass and you can even get the cgi script to know what user is logged in and such. I would assume IIS and other servers has this funtion.

Link on how to use this with apache:
http://www.apacheweek.com/features/userauth
0
 

Accepted Solution

by:
sgupta001 earned 600 total points
ID: 2240472
try out this one.
read the info in a form and submit it via GET or POST. use a standard cgi-library to parse the name and value fields of the submitted form. this library may be in C/C++ or PERL and can be downloaded from the net ( i myself use a cgi-lib written in C).

once you have the relevant info by parsing and reading the name and value fields in variables, you can use standard printf or cout statements to write them in the STDOUT of the server which will communicate them to the browser/client. use the same method to output the HTML tags and statements to the browser.
0
 
LVL 1

Expert Comment

by:BrainMaster
ID: 2272981
toulon??
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:toulon
ID: 2316544
This is a replicate of an already accepted question?
BUG
0
 
LVL 1

Expert Comment

by:BrainMaster
ID: 2317523
huh?
0
 

Author Comment

by:toulon
ID: 2317643
Bainmaster. I just said that I accepted the response of squpta001 (you made just a comment). And that this page is a duplicate of the accepted response: hence a BUG from Experts-Exchange system. I therefore "increase" points to zero - if it works - and I hope to get the attention of the webmaster.
0
 
LVL 1

Expert Comment

by:BrainMaster
ID: 2318029
ok, you might want to leave a note in the customer support area then.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question