Hi all,

i am a newbie with all this ASP and perl stuff, as I am only a 
sophomore at Penn State working as an Intern.

anyway, i am trying to create a simple Asp page that when fields are 
filled, and submit is clicked, the form info is posted to a flat text-
file in the same directory as the asp file on the server.

here is what i have, and it doesnt write anything to the text file.  
thanks for your help, i really appreciate it.

<HTML>
<HEAD>
<TITLE>Blank</TITLE>
</HEAD>

<%
  $Response->{FormFill} = 1;
%>



     <FORM METHOD="post"> 
     <input name=name type=text size=30>
     <INPUT TYPE="submit">
     <INPUT TYPE="reset">
     </FORM>
</body>


<% if(%{$Request->{Form}}) 
        {
        my $filename="notes.txt"

        if(open(ADDFILE, ">> $filename"))
        {
        print (ADDFILE $Request->Form('name') );
        close(ADDFILE);
        }
}
%>


</html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to