script werkt maar nu nog

Status
Niet open voor verdere reacties.

ciske de rat

Verenigingslid
Lid geworden
10 jun 2003
Berichten
960
ik ben al een dag bezig ben tot het volgende gekomen
ik heb contact formelier gemaakt maaar hij doet het ook ik krijg alleen vreemde afzenders en sub binnen in mijn hotmail

contact.htm
<body><!------Created by http://dhost.info/moffia/------->
<form method="post" action="process.php"><table width="455" bgcolor="#EEEEEE" border="0"><tr><td valign="top">Naam :</td><td valign="top"><input type="text" name="t1"></td></tr><tr><td valign="top">Email :</td><td valign="top"><input type="email" name="t2"></td></tr><tr><td valign="top">Onderwerp :</td><td valign="top"><input type="text" name="t3"></td></tr><tr><td valign="top">opmerking</td><td valign="top"><textarea name="t4" cols="20" rows="10">plaats uwe bericht</textarea></td></tr><tr><td>gemaakt door <a href="http://dhost.info/moffia/">John pagina</a></td><td><input type="submit" value="Verzenden"></td></tr></table>
<p align="center">&copy; copyricht made bij john <BR>

process.php
<?php
//This script is created by dhost.info/moffia/
//You can remain use this free service as long as you retain the credit link
//As we had spent hours on building this script for you, please respect our effort
//Thank you --- john breedveld 'dhost.info/moffia/'

$mymail = 'vergeefjehetme@hotmail.com';
$cc = 'Form submitted from your website';
$BoDy = ' ';
$FrOm = 'FROM:' .$_POST['t1'];
$FrOm .= 'Reply-To:' .$_POST['t1'];
$FrOm .= 'X-MAILER: PHP'.phpversion();
$BoDy .= 'Naam :: ';
$BoDy .= $_POST['t1'];
$BoDy .= "\n";
$BoDy .= 'Email :: ';
$BoDy .= $_POST['t2'];
$BoDy .= "\n";
$BoDy .= 'Onderwerp :: ';
$BoDy .= $_POST['t3'];
$BoDy .= "\n";
$BoDy .= 'Opmerking :: ';
$BoDy .= $_POST['t4'];
$BoDy .= "\n";
$send = mail("$cc", "$BoDy", "$FrOm");
///Redirect user to your homepage....
if($send)
{
echo '<html><head>';
echo '<meta http-equiv="refresh" content="0;URL=http://dhost.info/moffia/">';
echo '</head><body>Email send....';
echo '</body></html>';
}
?>
plaatje van mijn mail
plaatje 2 mail
 
PHP:
<?php
//This script is created by http://www.helpmij.nl
//You can remain use this free service as long as you retain the credit link

$mailTo = 'vergeefjehetme@hotmail.com';
$mailSubject = 'Form submitted from your website';

$mailMessage =
'Naam:: '. $_POST['t1'] ."\r\n".
'E-mail :: '. $_POST['t2'] ."\r\n".
'Onderwerp :: '. $_POST['t3'] ."\r\n".
'Opmerking :: '. $_POST['t4'];

$mailHeaders = 'From '. $_POST['t1'] .' <'. $_POST['t2'] .'>'. "/r/n";
$mailHeaders .= 'X-Mailer: PHP/' . phpversion();

if(mail($mailTo, $mailSubject, $mailMessage, $mailHeaders)) {
  echo '<html><head>';
  echo '<meta http-equiv="refresh" content="0;URL=http://dhost.info/moffia/">';
  echo '</head><body>Email send....';
  echo '</body></html>';
}
?>
Probeer het zo eens.
 
mijn dank

mijn dank is zeer groot
hij werkt perfect nu nu komt zelf niet eens meer in ongewenste mappen terrecht :thumb::thumb::thumb:
krijg nu als afzender root@dhost.info
tevens sub is het zelfde
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.
Steun Ons

Nieuwste berichten

Terug
Bovenaan Onderaan