Forum Moderators: coopster

Message Too Old, No Replies

What form action in 'form to text file with PHP'?

         

Gil Hardwick

8:22 am on Dec 26, 2004 (gmt 0)



On 22 August 2002 a brief exchange took place here between *astounded* and *jatar_k* on writing form variables directly into a text file.

My own question is, if I want to use *jatar_k*'s little script what is the action in the <FORM ACTION= . . . >
line?

tedster

3:46 pm on Dec 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't have an answer for you, but I thought a link to the original post would be helpful:

[webmasterworld.com...]

davelms

5:49 pm on Dec 26, 2004 (gmt 0)

10+ Year Member



Use action="/dir1/x.php", where "x.php" is whatever you have called the script and "dir1" is wherever it is located on your site. My only comment on that script would be to use $_POST['var1'] instead of just $var1.