Writefile problem

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25015
interpreted = N
texte = I have a problem with a writefile context on a web page that I'm working on for a company that is using online job applications for employment on a secure server.   I've built a database of available jobs that pulls up in a table on the page empindex.tpl. When you click on one of the jobs, it routes to a secure server and provides you with an online application to fill out. After they've filled it out and submitted it a thankyou.tpl page is posted. Included in this page is the WriteFile context which writes an HTML page of the application to a jobs folder in the same directory.  There are also two include tags in this thankyou.tpl file. One is a file containing a sendmail context which sends a confirmation to the applicant, the other is a file containing another sendmail context which sends a notification to the company.  This email contains a direct link to the application (the application is named with the name and phone number of the applicant so that if an applicant applied with the same name as someone else the writefile context won't write over the first one) on the secure server that was just filled out.  Both the sendmails work fine, but my problem is this:  Most of the time the file is written fine and works great, but occasionally one does not get written at all (1 out of 10, maybe).  I've looked on the server to see if it wrote it outside of the jobs folder and it is nowhere to be found.  I can't narrow it down to a browser specific problem either.  At first it was thought to be an AOL problem, but the longer it's up the more files don't get written and they are not all from AOL They are from all over.  I've been straining on this for days now.  The following is the basics of the writeFile context I've written and the include tags...
 

[WriteFile file=./jobs/[url][name][phone][/url].tpl&secure=F]
<!--HAS_WEBDNA_TAGS-->
<HTML>
<HEAD>
<TITLE>National City Bank Secure Application</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#996633 ALINK=#FF0000 VLINK=#000000>
<CENTER>
<table width=435 border=0 cellspacing=2 cellpadding=1>
<tr colspan=2><td width=150 colspan=2>
<font size=5 color=#996633><HR><b>Personal Information</b></font><BR>

<tr><td width=200>Full Name:</td><td width=250>[name]</td></tr>
<tr><td width=200>Home Address:</td><td width=250>[address1]</td></tr>
<tr><td width=200>City:</td><td width=250>[city]</td></tr>
<tr><td width=200>State:</td><td width=250>[state]</td></tr>
<tr><td width=200>Zip:</td><td width=250>[zip]</td></tr>
<tr><td width=200>Home Phone:</td><td width=250>[phone]</td></tr>
<tr><td width=200>Work Phone:</td><td width=250>[header1]</td></tr>
<tr><td width=200>Fax:</td><td width=250>[header30]</td></tr>
<tr><td width=200>E-mail Address:</td><td width=250>[email]</td></tr>
<tr><td width=200>How did you hear about us?:</td><td width=250>[header2]</td></tr>

<!--------------...etc., etc., etc., you get the point----------------->

</CENTER>
</BODY>
</HTML>
[/WriteFile]

[include file=thankyou.txt]
[include file=incoming.txt]
 

Please Help!!!!!
-RW ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 From ???@??? Fri Dec 03 07:50:19 1999 Return-Path: X-ListServer: CommuniGate Pro LIST 3.1 List-Unsubscribe: Message-ID: Reply-To: (WebCatalog Talk) Sender: (WebCatalog Talk) To: (WebCatalog Talk) Precedence: list X-Original-Message-Id: Date: Thu, 2 Dec 1999 16:39:08 From: Charles Kline Subject: Re: Writefile problemwhat platform/version?- ck -- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: PDF Writefile problem ( "Jason Aus" 2005)
  2. Re: PDF Writefile problem ( "Eric Miller" 2005)
  3. Re: PDF Writefile problem ( "Jason Aus" 2005)
  4. Re: PDF Writefile problem ( "Eric Miller" 2005)
  5. Re: PDF Writefile problem ( John Hill 2005)
  6. Re: PDF Writefile problem ( Daryl Mitchell 2005)
  7. PDF Writefile problem ( "Eric Miller" 2005)
  8. PDF writefile problem ( "Eric Miller" 2004)
  9. Re: Createfolder / writefile problem ( Jesse Proudman 2004)
  10. Re: Createfolder / writefile problem ( devaulw@onebox.com 2004)
  11. Re: Createfolder / writefile problem ( "Nitai @ ComputerOil" 2004)
  12. Re: Createfolder / writefile problem ( Jim Lanford 2004)
  13. Createfolder / writefile problem ( Jesse Proudman 2004)
  14. Re: Writefile problem (Robert Wade 1999)
  15. Re: Writefile problem (John Butler 1999)
  16. Re: Writefile problem (Robert Wade 1999)
  17. Re: Writefile problem (PCS Technical Support 1999)
  18. Writefile problem (Robert Wade 1999)
I have a problem with a writefile context on a web page that I'm working on for a company that is using online job applications for employment on a secure server.   I've built a database of available jobs that pulls up in a table on the page empindex.tpl. When you click on one of the jobs, it routes to a secure server and provides you with an online application to fill out. After they've filled it out and submitted it a thankyou.tpl page is posted. Included in this page is the WriteFile context which writes an HTML page of the application to a jobs folder in the same directory.  There are also two include tags in this thankyou.tpl file. One is a file containing a sendmail context which sends a confirmation to the applicant, the other is a file containing another sendmail context which sends a notification to the company.  This email contains a direct link to the application (the application is named with the name and phone number of the applicant so that if an applicant applied with the same name as someone else the writefile context won't write over the first one) on the secure server that was just filled out.  Both the sendmails work fine, but my problem is this:  Most of the time the file is written fine and works great, but occasionally one does not get written at all (1 out of 10, maybe).  I've looked on the server to see if it wrote it outside of the jobs folder and it is nowhere to be found.  I can't narrow it down to a browser specific problem either.  At first it was thought to be an AOL problem, but the longer it's up the more files don't get written and they are not all from AOL They are from all over.  I've been straining on this for days now.  The following is the basics of the writeFile context I've written and the include tags...
 

[WriteFile file=./jobs/[url][name][phone][/url].tpl&secure=F]
<!--HAS_WEBDNA_TAGS-->
<HTML>
<HEAD>
<TITLE>National City Bank Secure Application</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#996633 ALINK=#FF0000 VLINK=#000000>
<CENTER>
<table width=435 border=0 cellspacing=2 cellpadding=1>
<tr colspan=2><td width=150 colspan=2>
<font size=5 color=#996633><HR><b>Personal Information</b></font><BR>

<tr><td width=200>Full Name:</td><td width=250>[name]</td></tr>
<tr><td width=200>Home Address:</td><td width=250>[address1]</td></tr>
<tr><td width=200>City:</td><td width=250>[city]</td></tr>
<tr><td width=200>State:</td><td width=250>[state]</td></tr>
<tr><td width=200>Zip:</td><td width=250>[zip]</td></tr>
<tr><td width=200>Home Phone:</td><td width=250>[phone]</td></tr>
<tr><td width=200>Work Phone:</td><td width=250>[header1]</td></tr>
<tr><td width=200>Fax:</td><td width=250>[header30]</td></tr>
<tr><td width=200>E-mail Address:</td><td width=250>[email]</td></tr>
<tr><td width=200>How did you hear about us?:</td><td width=250>[header2]</td></tr>

<!--------------...etc., etc., etc., you get the point----------------->

</CENTER>
</BODY>
</HTML>
[/WriteFile]

[include file=thankyou.txt]
[include file=incoming.txt]
 

Please Help!!!!!
-RW ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 From ???@??? Fri Dec 03 07:50:19 1999 Return-Path: X-ListServer: CommuniGate Pro LIST 3.1 List-Unsubscribe: Message-ID: Reply-To: (WebCatalog Talk) Sender: (WebCatalog Talk) To: (WebCatalog Talk) Precedence: list X-Original-Message-Id: Date: Thu, 2 Dec 1999 16:39:08 From: Charles Kline Subject: Re: Writefile problemwhat platform/version?- ck -- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Robert Wade

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:

webcat 2.1 (1997) showif and cart (1997) 2.0Beta Command Ref (can't find this instruction) (1997) WebCat2 several catalogs? (1997) Unexceling (was I need a smart quote...) (1999) [WebDNA] jumping on the linux train (2011) Find one not all, code not working (2003) WebCat2b12 - New features for 1.6 users ... (1997) Linebreak as a delimiter in listwords? (2003) Opinion: [input] should be called [output] ... (1997) Bug? (1997) emailer (1997) Enhanced Master Counter? (1997) WebCat2: Formulas.db question (1997) Re:Email Problem (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Re:How to Display text in empty fields (1997) Navigator 4.01 (1997) Doing VALIDCARD right? (1998)