Editing HTML Page

I

invincible

All,

I have a problem which I thought of discussing with you lot so as to
get your views on the solution.

In my intranet there is an section where we have our customer details.
This is fairly straight as all the details are saved in customer.log
file on the unix directory.

There is one index.cgi file which has certain columns which allow us
to add customer and search by several fields including customer name,
location etc.

Now the PROBLEM: We do not have any cgi script to edit these details.
As told before the details are stored in
customer.log file and I suppose I would have to create a link in
index.cgi to edit all the details displayed .

Would somebody be able to let me know how to change these details ,
creating a new link in index.cgi.

Sample fields in the index.cgi is as below.


<tr><td>Almstrong</td><td>Cust Name</td><td>Shit Bing</td><td>Liabel
Support Team</td><td>Number:</td></tr>
<tr><td>Almstrong</td><td>Cust Name</td><td>Dove Solo</td><td>Liabel
Support Team</td><td>Number:</td></tr>

Any help would be greatly appreciated.

Ciao.
 
J

J. Gleixner

invincible wrote:
[...]
Now the PROBLEM: We do not have any cgi script to edit these details.
As told before the details are stored in

Many people don't know or remember the details you may have posted.
customer.log file and I suppose I would have to create a link in
index.cgi to edit all the details displayed .

Would somebody be able to let me know how to change these details ,
creating a new link in index.cgi.
[...]
Parse the file. in your CGI.
Display the data in an HTML form.
When it's submitted, the CGI will parse the input and rewrite the file.
( Note the permissions on the file need to be writable by the owner
of the process running the Web server. )

Start by learning about CGI and the different elements HTML provides
in a form. When you're ready to program it, there are many
options that will help, usually CGI can tackle it:

perldoc CGI
 
B

Bill H

All,

I have a problem which I thought of discussing with you lot so as to
get your views on the solution.

In my intranet there is an section where we have our customer details.
This is fairly straight as all the details are saved in customer.log
file on the unix directory.

There is one index.cgi file which has certain columns which allow us
to add customer and search by several fields including customer name,
location etc.

Now the PROBLEM:  We do not have any cgi script to edit these details.
As told before the details are stored in
customer.log file and I suppose I would have to create a link in
index.cgi to edit all the details displayed .

Would somebody be able to let me know how to change these details ,
creating a new link in index.cgi.

Sample fields in the index.cgi is as below.

<tr><td>Almstrong</td><td>Cust Name</td><td>Shit Bing</td><td>Liabel
Support Team</td><td>Number:</td></tr>
<tr><td>Almstrong</td><td>Cust Name</td><td>Dove Solo</td><td>Liabel
Support Team</td><td>Number:</td></tr>

Any help would be greatly appreciated.

Ciao.

Did you type this in or do you really have a field called "<td>Shit
Bing</td>"?

Bill H
 
T

Tad J McClellan

Did you type this in or do you really have a field called "<td>Shit
Bing</td>"?


If it was for testing, then everybody knows you should use:

<td>Rich Bastard</td>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top