Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    [Regex] validare mime-types

    Ciao.
    Avrei bisogno di una regex
    per validare appunto mime-types(ie image/jpeg)

    Ho una cosa del genere
    Codice PHP:
    public function addExtension($extension) {
            
    $this->extensions[]= $extension;
        } 
    quindi mi occorre una regex che mi valida $extension


    deve validare una stringa di lettere con uno slash


    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

  2. #2
    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.