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

mysq_num_rows
Hi,

I want to use:

Code: if(mysql_num_rows($ergebnis2)==2)
how can the value 2, be

Inter Company -- Resources Related Billing (Services Industry)
Hello,

My company has a scenario where:
Company A bills Company C for INTER (cross

Secure FTP
Hi experts,
There is no SFTP action in MII workbench.
This means it needs developing custo

BB_Code error
I'm having a problem with a custom built function and keep getting this error:


Warning: M

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

Echo Tweaking help!
HI. I would like to have the output of the entered variables repeat forever, but it's stopping at th

Passing JS to PHP
So I have the following
Code: <?php
getdetails(?><script type="text/

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

Price in PR
Dear Experts,
Why we have to enter the price in the PR, and why there is no free goods indicato

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