Christoph Schwarz: öffnen einer php Datei

Beitrag lesen

Hi
noch was.

<?php
header("status: 204 No Content");
  $fmtResponse= implode("", file("response.htt"));
  $fmtMail= implode("", file("mail.txt"));
  foreach($HTTP_POST_VARS as $key=> $val) {
    $fmtResponse= str_replace("<$key>", $val, $fmtResponse);
    $fmtMail= str_replace("<$key>", $val, $fmtMail);
  }
  mail($HTTP_POST_VARS["recipient"], $HTTP_POST_VARS["subject"], $fmtMail);
  echo $fmtResponse;
?>

es kann sein das du $HTTP_PODT_VARS
mit $HTTP_GET_VARS im script ersetzen muß, wenn du meinen Methode, mail vorher anwendest.

Ich hoffe ich habe jetzt nicht noch mehr Probleme geschaffen habe, als du vorher hattest.

Salut,

Christoph