note 127103 added to function.fopen
| From: | Wvss at gmail dot com | Date: | Mon, 16 May 2022 05:41:05 +0000 |
| Subject: | note 127103 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218450@lists.php.net to get a copy of this message | ||
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<h1>Immobilienportal</h1>
<h2>Angebot aufgeben</h2>
Die <b style="background-color:#cccccc;">grau hinterlegten</b> Felder
müssen ausgefüllt werden.
<form method="POST">
<fieldset style="width:750px">
<legend>Persönliche Daten</legend>
<div style="background-color:#cccccc;">
<label for="nachname">Nachname:
<input type="text" name="nachname" required="required">
</label>
</div><br>
<div style="background-color:#cccccc;">
<label for="vorname">Vorname:
<input type="text" name="vorname" required="required">
</label>
</div><br>
<div style="background-color:#cccccc;">
<label for="email">Email:
<input type="email" name="email"
required="required"><br>
</label>
</div><br>
<label for="auswahl">Ich verkaufe:
<input type="radio" name="auswahl" value="P">
<label for="prv">Privat</label>
<input type="radio" name="auswahl" value="M">
<label for="makler">als Makler</label>
</label>
<br><br>
<label for="ustid">Umsatzsteuerid DE
<input type="number" name="ustid" >
</label>
</fieldset>
<fieldset style="width:750px">
<legend>Objektangaben</legend>
<label for="immoart">Immobilienart:
<select name="immoart" size="5">
<option value="0">keine Angabe</option>
<option value="1">Einfamilienhaus</option>
<option value="2">Mehrfamilienhaus</option>
<option value="3">Reihenhaus</option>
<option value="4">Doppelhaushälfte</option>
<option value="5">Eigentumswohnung</option>
</select>
</label>
<br><br>
<div style="background-color:#cccccc;">
<label for"plz">PLZ: </label>
<input type="number" name="plz" required="required" >
<label for"ort">Ort: </label>
<input type="text" name="ort" required="required">
</div><br>
</fieldset>
<fieldset style="width:750px">
<legend>Sonstiges</legend>
<label for="text">Ihre Nachricht (optional):</label>
<textarea id="text" name="text" cols="50"
rows="5"></textarea>
<br>
<div style="background-color:#cccccc;">
<input type="checkbox"name="agb" value="ja" >
<label for="agb">Datenschutzbest. akzeptieren</label><br>
</div><br>
</fieldset>
<input type="submit" name="senden">
<br><br>
<?php
if(ISSET($_POST["senden"])) {
$zufallsnummer=$uid = strtoupper(bin2hex(random_bytes(3)));
$MoP=$_POST["auswahl"];
$immoart=$_POST["immoart"];
$plz=$_POST["plz"];
if(($_POST["agb"]) =="ja") {
echo "Sie haben die Datenschutzbestimmungen Akzeptiert.<br>";
}
else {
echo "Sie haben die Datenschutzbestimmungen nicht Akzeptiert.<br>";
}
echo "Ihre Angebots-ID: $MoP-$immoart-$plz-$zufallsnummer";
}
?>
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.47 (proxied: 109.43.176.48)
----
Manual Page -- https://php.net/manual/en/function.fopen.php
Edit -- https://main.php.net/note/edit/127103
Del: integrated -- https://main.php.net/note/delete/127103/integrated
Del: useless -- https://main.php.net/note/delete/127103/useless
Del: bad code -- https://main.php.net/note/delete/127103/bad+code
Del: spam -- https://main.php.net/note/delete/127103/spam
Del: non-english -- https://main.php.net/note/delete/127103/non-english
Del: in docs -- https://main.php.net/note/delete/127103/in+docs
Del: other reasons-- https://main.php.net/note/delete/127103
Reject -- https://main.php.net/note/reject/127103
Search -- https://main.php.net/manage/user-notes.php