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.

$PHP_SELF mit parametern?

Empfohlene Antworten

Moin zusammen,

folgendes Problem:

Ich will auf meinem Server eine weiterleitung zu einem anderen Server machen. Damit dies möglichst transparent geschieht soll es eine 100%ige Weiterleitung sein.

z.B. können user die URL http://www.meinserver.de/index.php?do=1&act=5 gespeichert haben.

Ich will jetzt, das die index.php auf meinserver.de alles an eine ip weiterleit. Also das quasi die umleitung auf

http://123.456.789.123/index.php?do=1&act=5

In php_self steht ja immer nur index.php ohne die Parameter drin.

Hat einer ne idee wie ich das lösen kann?

Besten Dank.

versuch ma folgende Arrays:

$argv <- sollte der komplette aufruf string drinne stehen ab dem letzten "/"

$argc <- sollte nur die parameterliste drinne stehen

dazu muss in der php.ini aber "register argc" und "register argv" auf On stehen.

Ist aber soweit ich weiß std.

ah ja, klingt gut... php.ini kann ich notfalls selbst noch ändern.

Thnx.

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.