Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Opening, using a file in HTML

Reply
Thread Tools

Opening, using a file in HTML

 
 
John Fistere
Guest
Posts: n/a
 
      11-05-2003
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


 
Reply With Quote
 
 
 
 
Toby A Inkster
Guest
Posts: n/a
 
      11-05-2003
John Fistere wrote:

> 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.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
 
 
 
Leif K-Brooks
Guest
Posts: n/a
 
      11-05-2003
Toby A Inkster wrote:

> 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?
 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      11-06-2003
Leif K-Brooks wrote:

> Toby A Inkster wrote:
>
>> 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?


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.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tell VS to wite HTML element's styles in the CSS file automaticly instead of in the body of the HTML file. oranmeir@gmail.com ASP .Net 1 06-09-2006 06:53 AM
using dreamweaver : how can I insert HTML file into another html file? johnsonholding@yahoo.com HTML 3 01-10-2006 08:06 PM
How to read the BODY of HTML file from another HTML file using javascript? Dhanasankar S via DotNetMonster.com ASP .Net 1 02-28-2005 05:51 PM
How to read the BODY of HTML file from another HTML file using javascript? Dhanasankar S via DotNetMonster.com ASP .Net 0 02-26-2005 10:58 AM
is there a way to "include" source file B.html in source file A.html? Cloud Burst HTML 11 01-09-2004 02:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57