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.

setlocale() [function.setlocale]

Empfohlene Antworten

Hallo Leute!

Ich habe mir eine Art Gästebuch in PHP zusammen gebastelt. Dies ging und geht auch 1A aber seitdem ich auf dem neuen Server von mir bin kommt eine "Fehlermeldung" wenn man sich eingetragen hat aber er übernimmt trotzdem den Eintrag korrekt.

Folgende Fehlermeldung kommt:

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/www/web104/html/shoutactiv.php on line 85

Die Zeilen 85/86 ermitteln das aktuelle Datum in Deutschen Format. Hier sind die Zeilen:

setlocale('LC_TIME', 'de_DE');
$datum = strftime('%A').', '.date('d.m.Y <br> H:i:s').' Uhr';[/PHP]

Ich hätte gerne die Fehlermeldung weg was muss ich den da machen? :)

einfach die anführungszeichen rausnehmen. also LC_TIME.

Originally posted by Art

einfach die anführungszeichen rausnehmen. also LC_TIME.

Wow hat geklappt. Vielen Dank! :)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.