MySQL, Bash

Benutzeravatar
davidvajda.de
Site Admin
Beiträge: 1424
Registriert: Di Jul 18, 2023 8:36 pm
Wohnort: D-72072, Tübingen
Kontaktdaten:

Re: MySQL, Bash

Beitrag von davidvajda.de »

Code: Alles auswählen

<?php
session_start ();
?>

<form method="POST" action="http://localhost/mysql20240217/20240217/form20240217.php">
<input type="text" name="t2024021701"></input>
<input type="submit">
</form>

<?php
echo session_id () . "<br>\n";

echo $_POST ["t2024021701"] . "<br>\n";

session_destroy ();
?>

Code: Alles auswählen

POST http://localhost/mysql20240217/20240217/form20240217.php HTTP/1.1
host: localhost
Cookie: c20240217a=Hallo
Content-Length: 16
Content-Type: application/x-www-form-urlencoded

c20240217b=Hallo

Code: Alles auswählen

Trying ::1...
Connected to localhost.
Escape character is '^]'.
HTTP/1.1 200 OK
Date: Sat, 17 Feb 2024 12:09:37 GMT
Server: Apache/2.4.57 (Debian)
Set-Cookie: PHPSESSID=os2resutaela04i6bs1t117ei5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Vary: Accept-Encoding
Content-Length: 202
Content-Type: text/html; charset=UTF-8


<form method="POST" action="http://localhost/mysql20240217/20240217/form20240217.php">
<input type="text" name="t2024021701"></input>
<input type="submit">
</form>

os2resutaela04i6bs1t117ei5<br>
<br>
Antworten