Turquoise Rings - Find jobs - Debt Consolidation - Free Games - Jigsaw Puzzles

PDA

View Full Version : Making a form that records the data sent


Andrju
Jun 25th 2006, 3:36 pm
On my page I have a form, something like:

<form action="www.abc.com/xxx.php" method="POST">
value 1:<input type="text" name="x" />
value 2: <input type="text" name="y" />
<input type="submit" />

It sends data to another site [over which I have no control].

My question is: what do I have to do to make the script send the data to that site AND write the data to a text file on my server?

Borghunter
Jun 25th 2006, 4:05 pm
You can post it to a page on your own site to write it to a text file and then also post it to the site with some help of javascript. There may be another way, but this is the only way I know.

Andrju
Jun 25th 2006, 5:27 pm
Could someone give an example of java script I could use in this situation?

Andrju
Jun 28th 2006, 10:03 am
OMG this forum suuuuuux so much. I found the answer myself.
"Screw you guys! I'm going home..."

shamess
Jun 28th 2006, 10:06 am
OMG this forum suuuuuux so much. I found the answer myself.
"Screw you guys! I'm going home..."
You're kidding, right? If I had seen this, I would have answered you. And these forums are the best forums I've come across, lamer.