Opening, using a file in HTML

J

John Fistere

I have an application which calls a CGI file that writes a textfile to the
local directory. The calling HTML page needs to then access the file, give
it a variable name so it can be sent by email from the calling HTML page.
The HTML page has a form which supplies the data to the CGI file which
writes the formatted file.

I haven't found a way to open the file in HTML so it can be passed to the
mailer. Can anyone give me some advice?

Thanks,
John Fistere
 
T

Toby A Inkster

John said:
I haven't found a way to open the file in HTML so it can be passed to the
mailer. Can anyone give me some advice?

HTML isn't a programming language. It can't do anything.

Any opening of files, sending by e-mail, etc will have to be done by CGI.
 
L

Leif K-Brooks

Toby said:
Any opening of files, sending by e-mail, etc will have to be done by CGI.

What's wrong with other ways of a program talking to the server?
 
T

Toby A Inkster

Leif said:
What's wrong with other ways of a program talking to the server?

While others (PHP, JSP, ColdFusion, mod_open_files_and_send_stuff_by_email,
etc) *could* be used, the OP was already using CGI, so it seemed to be a
natural choice.
 

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,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top