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: Timeout zurücksetzten...

Empfohlene Antworten

Veröffentlicht

Hi,

ich habe ein PHP-Script, das mittels ftp-Verbindung Daten übertragt.

Nun kann das gelegentlich recht lange dauern... :rolleyes: Gibt es eine Möglichkeit, das Timeout seitens des Servers wieder zurückzusetzen ?

Ach ja, ich hab in der PHP-Doku nix dazu gefunden:

Wie kann ich Ordner löschen, die noch Dateien enthalten ? Wenn ich nur rmdir() nehme, sagt er nur das da noch was drin ist :( .

Danke schonmal im Voraus ! :D

MfG :)

Hi Daniel,

das Zauberwort ist die "max_execution_time", das ist die maximale Laufzeit eines Scriptes. Zu ändern ist das in der php.ini (ein phpinfo() zeigt sie dir auch an). Falls Du keinen Zugriff auf die php.ini hast, leg in dem Verzeichnis mit den Skripten einfach eine php.ini mit der Zeile:

php_value max_execution_time 60

Zu finden ist das da (FAQ von de.comp.lang.php): http://www.koehntopp.de/php/faq-version4.html#version4-3

Zu dem Verzeichnis Problem kann ich nur ein RTFM ablassen, http://www.php.net/manual/en/function.rmdir.php

das 1. (!) Beispiel ist schon das richtige. Also erstmal www.php.net anschauen, dann fragen.

MfG Valium

Hi,

Danke

Hab aber auch grad was gefunden... set_time_limit(Anzhal_in_Sekunden) heisst das gute Stück.

Das mit dem Verzeichnis muss aber auch irgendwie gehen :(

MfG :)

<FONT COLOR="#a62a2a" SIZE="1">[ 21. November 2001 12:34: Beitrag 1 mal editiert, zuletzt von [-Daniel-] ]</font>

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.