Log $_POST


Posted on 16th Feb 2014 07:03 pm by admin

How would i log submits on a form, by everyone? I want to then echo the number of submissions.

I've tried this:

Code: [Select]<?php

if (isset($_POST['submit'])) {

$myFile = "testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
fwrite($fh, $submit);
fclose($fh);

}


?>
But unsure of what to do next...

No comments posted yet

Your Answer:

Login to answer
312 Like 40 Dislike
Previous forums Next forums
Other forums

Best way to cross matching large datasets
Hi,

Im running a script where am I cross matching about 200 000 data sets with each other. Ea

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

having a small php error tha deals with the 'foreach'
Last night i was working on a script for a cart and it seemed to working good, until this morning. F

PHP and Javascript
Hi Guys,

Im trying to load the contents of an html file into a text area for editing, this is

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

db entry based on primary key
My "topics" table contains 10 entires
*--------------*
topicid topic
------

bit of help needed
Im about to sort out my registration page for my website by customising a "registration" s

PHP code for a proxy
I was wondering which function I could use to create an online proxy tool. I was thinking cURL would

Auto install
Hi I have a directory lets say "apps" that I then have more folders ie "email",

A Few Questions
Hi, I want to ask a few questions that I can't seem to find..

1) I'm creating a "shortcu

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash