php

Ich möchte ungültige Karakters durch Leerzeichen ersetzen. Aber es geht nicht um ASCII sondern es muss alle Buchstaben in allen Sprachen ungerührt bleiben. Folgende Funktion habe ich gefunden.

echo preg_replace("#[^\pL]#u", " ", "Üben wir, ob PHP mit UTF-8 Chars Spaß versteht!" );

Output ist: Üben wir ob PHP mit UTF 8 Chars Spaß versteht

Aber ich möchte dass einzelne Chars wie _-,.:;'" bleiben

Hallo zusammen,

ich möchte den Quellcode von einem kleinen PHP Projekt auf Sicherheitslücken überprüfen. Die Grundkenntnisse im Web-Sicherheit habe ich. Es dauert sehr lange manuell das Projekt auf SQL Injection, Sross Site Scripting (XSS), CSRF etc. zu überprüfen. Gibt es gute Tools um diesen Vorgang zu beschleunigen? Am liebsten wäre es mir, wenn ihr mir ein paar Freeware oder Open Source Tools empfehlen könntet?

Ich bin PHP Anfänger. ich möchte von meinem Text und Bild Datein mit Hilfe PHP5 PDF dateien machen. Ich habe gegoogelt und folgendes gefunden: http://php.net/manual/en/ref.pdf.php

Unter dem Kommentar von "17-Sep-2005 11:26" gibt es PHP-Cpde für Anfänger. ich habe es kopiert und liess laufen auf meinem Virtual-Server von Hosteurope. Und ich bekam folgende fehlermeldung:

Für meine Webseite suche ich nach einer Software, also ein PHP-Script oder WebDienst für Web-Statistiken. Ich weiß, dass es Google Analytics gibt aber ich suche eher nach einer Möglichkeit, wo ich die Daten meiner Besuchern mit anderen nicht teilen muss.
Gibt es was besseres als Google Analytics?

Als PHP Anfänger bekomme ich viele Tipps: "du muss das machen, du muss dies lernen, du muss das installieren..." usw. Neulich hat mir man empfohlen IonCube zu verwendet. Es soll helfen professionelle PHP Scripts zu schreiben. Ich konnte nur eine PHP-Module downloaden und auf lokale Web Server installieren. Aber ich habe keine Ahnung wie es funktioniert. Auf einfache klare Tipps würde ich mich besonders freuen.

Suche

Neueste Kommentare

  • 1 day 22 hours ago
    Install APCu (PHP 8.1, Plesk)

    Problem:

  • 1 month ago
    Linux mv: das Verschieben von 'new' nach 'old' ist nicht möglich: Das Verzeichnis ist nicht leer

    Hilft "cp -avf old new && rm -rvf old" nicht?

  • 6 months ago
    [preflight] The following restricted PHP modes have non-empty values: {open_basedir}. This configuration is incompatible with drush.

    Same with Drush 13 + PHP 8.3

  • 6 months 1 week ago
    Acronis CyberProtect Agent For Linux (Strato Root Server)

    Initializing...

    Error : Failed to install the required package 'RPM' by using APT. Please install it manually. 

    Exit


    Solution:

  • 6 months 1 week ago
    Acronis CyberProtect Agent For Linux (Strato Root Server)

    So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert:

  • 6 months 1 week ago
    No route found for the specified format html. Supported formats: csv, json. (Drupal Routing)

    I have a view with a path like /my-content-export to export entivies as JSON or CSV.

  • 6 months 1 week ago
    InvalidArgumentException: The controller for URI "/admin/flush" is not callable.

    admin_toolbar 3.5.2 is the reason. Patch coming ...

  • 5 months ago
    PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

    Drupal 10.4:

  • 7 months 1 week ago
    Server install & config : Debian 12 + Plesk + Apache + nginx + MariaDB + Solr

    Tools & Settings >> Security Policy :

     Allow only secure FTPS connections 

  • 8 months 3 weeks ago
    MariaDB Server Performance Optimieren

     

    /usr/sbin/mariadbd --help --verbose | grep "query.*size"