
The mail server is probably rejecting your email(s) as spam. Try putting additional information, such as a subject, message, headers etc
mail('t.sharratt[@]@yahoo.co.uk', 'SuperSurvival', $_POST["name"])[/@];
Don't see what is wrong with that :S
yeah :S
is it possible to send the information onto a different page.
e.g:
First person submits a name
then another person does the same
then another
then another
on the page it makes a list like:
name1
name2
name3
name4
or would that be more complicated since i'd also need a to remove the name after I have read it.
Last edited by Thomas; 13-11-2011 at 03:14 PM.
change your form to
yeah :S
is it possible to send the information onto a different page.
e.g:
First person submits a name
then another person does the same
then another
then another
on the page it makes a list like:
name1
name2
name3
name4
or would that be more complicated since i'd also need a to remove the name after I have read it.
then make a new php file called write.php with this in itHTML Code:<form action="write.php" method="POST">
should create a file called name.txt with whatever people input, keep previous entries and set a new linePHP Code:<?php
$file = "./name.txt";
$write = $_POST['name'] . "\n";
file_put_contents($file, $write, FILE_APPEND);
?>
Last edited by David; 13-11-2011 at 05:47 PM.
Want to hide these adverts? Register an account for free!