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.

mal wieder PHP-Installation

Empfohlene Antworten

Veröffentlicht

Moin,

hab auf meinem eigenen Server PHP installiert, kann aber keine Formulare auslesen.

Das Script läuft auf einem externen Server, also denke ich, dass es eine Konfigurationseinstellung ist.

Vielleicht kann mir von euch einer einen Tipp geben ???

Danke.

Hi!

der "externe" Server ist der Server den du aufgesetzt hast oder?

Wie versuchst du denn an die Formulardaten zu kommen?

und ist in der php.ini

register globals = on oder off ?

Gruß

Azrael

Hi,

ne der externe ist bei einem Hoster....

mein Script:

<html>

<body>

<?

if(array_key_exists("store", $_POST) and

isset($T1) and

isset($T2)){

echo "Sie haben folgenden Namen<BR>";

echo " eingegeben : " .$T1.", ".$T2."<BR>";

}

else

{ ?>

<form method="POST" action="test2.php">

<p>Name : <input type="text" name="T1" size="20"></p>

<p>Vorname : <input type="text" name="T2" size="20"></p>

<p><input type="submit" value="Abschicken" name="store"><input type="reset" value="Zurücksetzen" name="B2"></p>

</form>

<? } ?>

</body>

</html>

muß ich gleich mal nach schauen ob sie auf on steht...

Hi!

Also wenn register globals auf off steht musst du mit z.B. $_POST['T1'] auf die Formulardaten zugreifen!

Gruß

Azrael

ja, ich kapier jetzt gar nix mehr..... sorry,

hab register_globals auf on gesetzt und folgende Abfrage vorgeschaltet:

<html>

<body>

<?

if ($gesendet)

{

echo "Sie haben folgenden Namen";

echo " eingegeben: $vn $nn<p>";

}

?>

<form method="POST" action="test2.php">

<p>Name : <input type="text" name="T1" size="20"></p>

<p>Vorname : <input type="text" name="T2" size="20"></p>

<p><input type="submit" value="Abschicken" name="store"><input type="reset" value="Zurücksetzen" name="B2"></p>

</form>

</body>

</html>

läuft aber nicht :(

auf dem externen Server läuft es so .....

sorry,

hab mir mein script in ruhe angeschaut :(((

es läuft jetzt auch, man soll auch nicht alles mischen !!!!

Danke für die Hilfe !!!!!!

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.