Re: Read and Write
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38975
interpreted = N
texte = Velma Kahn wrote:> > I have two questions, which might be the same question or closely-related,> so I'll put them both here.> > 1. I need to read some tpl files and save them (the resulting HTML) to> static HTML files. How might I do this?[writefile] is your friend here.> > 2. I need to copy a shopping cart file from the store server to a secure> server, when the user presses checkout. If I cannot do that with CopyFile,> because the locations are not on the same tree or are not locally> networked, can I do this with URLs somehow?You cannot copy a shopping cart from one server to another if they are not networked drives. You can post the shopping cart to another serverusing [tcpconnect], but you cannot use SSL. I think you need to rethink your program flow.Only client's can use URL's (for this purpose, [tcpconnect] counts asa client). Only the server has access to the shopping cart file.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Velma Kahn wrote:> > I have two questions, which might be the same question or closely-related,> so I'll put them both here.> > 1. I need to read some tpl files and save them (the resulting HTML) to> static HTML files. How might I do this?[writefile] is your friend here.> > 2. I need to copy a shopping cart file from the store server to a secure> server, when the user presses checkout. If I cannot do that with CopyFile,> because the locations are not on the same tree or are not locally> networked, can I do this with URLs somehow?You cannot copy a shopping cart from one server to another if they are not networked drives. You can post the shopping cart to another serverusing [tcpconnect], but you cannot use SSL. I think you need to rethink your program flow.Only client's can use URL's (for this purpose, [tcpconnect] counts asa client). Only the server has access to the shopping cart file.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Include a big block of text (1997)
Nested [tags] (2001)
two domains and one cart and database (2000)
popups, netscape vs explorer (1997)
Return records from another (1997)
Dynamic PDFs? (2004)
[OT] HTML Table Cell Problem (2003)
Replace Statement (1997)
Off Topic: Frames Killer? (1998)
[include ...] behavior (1997)
emailer (1997)
Error -108 (1997)
Permission Denied Error (2001)
OT: Sending email to lots of subscribers (1999)
WebCat2b12 Mac.acgi--[searchstring] bug (1997)
[addlineitems] display (1997)
Alais Shopping Cart Directory (1998)
Counting LineItems (2000)
problems with 2 tags shakur (1997)
Feature Request: DB Field manipulation (1998)