Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mail Formular sendet nicht?!?!

Empfohlene Antworten

Veröffentlicht

Hallo,

folgendes Problem:

Die Kontakt.php -

<form name="mail" method="post" action="send.php">

<fieldset>

<label for="name">Name</label><br />

<input type="text" name="name" size="50" id="name" tabindex="1" /><br />

<label for="nachricht">Nachricht</label><br />

<textarea name="message" rows="8" cols="50" id="nachricht" tabindex="2"></textarea><br />

<input type="submit" name="Abschicken" value="senden" tabindex="3" />

</fieldset>

</form>

Und das steht in der send.php -

<?php

$markus= "info@meinedomain.de";

$sender= $_POST['name'];

$nachricht= $_POST['message'];

mail($markus, $sender, $nachricht);

?>

Und als Resultat erhalte ich folgendes:

Parse error: parse error in /srv/www/htdocs/web811/html/send.php on line 2

Was ist hier falsch???

hehehe....nur noch eine sache:

<textarea name="message" rows="8" cols="50" id="nachricht" tabindex="2"></textarea><br />

hier sind name und id unterschiedlich........kleiner schönheitsfehler...... :StefanE

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.