Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.
see also: basename()
see also: basename(), pathinfo(), and realpath().
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
widget factory basename
widget factory base
Laatste Update: 2011-10-23
Gebruiksfrequentie: 2
Kwaliteit:
Örnek 1. basename() example
example 1. basename() example
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
?php / * userland test for uploaded file. * / function is_uploaded_file( $filename) {if (!$tmp_file = get_cfg_var('upload_tmp_dir')) {$tmp_file = dirname(tempnam('', ''));} $tmp_file .= '/'. basename($filename); / * user might have trailing slash in php.ini... * / return (ereg_replace(' / +', '/', $tmp_file) == $filename);} if (is_uploaded_file($userfile)) {copy($userfile, "/ place / to / put / uploaded / file");} else {echo "possible file upload attack: filename '$userfile' .";}?
you can for example use the $_files[ 'userfile']['size'] variable to throw away any files that are either too small or too big.
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
Waarschuwing: Bevat onzichtbare HTML-opmaak