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.

variablenübergabe in php funzt nich

Empfohlene Antworten

moin

ich kann keine variablen über die browserzeile an meine scripte übergeben. es kommt keine fehlermeldung, nur ein leeres fenster

phpinfo() wurde angezeigt

phpversion 4.2.2

apache 1.3.26

hier meine testdateien:

test.a.php

<HTML>

<HEAD>

<TITLE>test.a</TITLE>

</HEAD>

<BODY>

<A href="test.b?wert=5">go</A>

</BODY>

</HTML>

test.b.php

<HTML>

<HEAD>

<TITLE>test.b</TITLE>

</HEAD>

<BODY>

<?php echo $wert; ?>

</BODY>

</HTML>

kleiner tipfehler:

im link steht eigentlich <A href="test.b.php?wert=5">

hallo!

ab php 4.2.x ist in der php.ini register_globals aus sicherheitsgründen auf off geschalten. das heist du kannst auf get, post, ... variablen nur noch über die neuen "superglobalen" arrays zugreifen.

ich hab die register_global auf "on" gestellt und es geht dennoch nicht.

aber danke so wie dus sagst gehts dann endlich =)

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.