Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #22096

Re: Limitare filebrowser ad una directory radice

From Gianfranco <gbertozzi@gmail.com>
Newsgroups it.comp.www.php
Subject Re: Limitare filebrowser ad una directory radice
Date 2018-06-14 10:37 +0000
Organization A noiseless patient Spider
Message-ID <slrnpi4gp5.ip9.gbertozzi@debian.asus.home> (permalink)
References <slrnpi43pi.3kb.gbertozzi@debian.asus.home> <foenraFsj3U1@mid.individual.net>

Show all headers | View raw


On Thu, 14 Jun 2018 09:38:02 +0100, Alessandro Pellizzari wrote:

Ciao,


> Use realpath() per calcolare il path effettivo a cui l'utente vuole
> accedere, poi controlli che inizi con il path che hai definito, e se non
> lo fa torni errore.

  Grazie davvero per la dritta. Non conoscevo la funzione e mi stavo
incartando. Credo proprio che faccia al caso mio. :-D

  Ora provo. :-)

  Un saluto,


-- 
Gianfranco Bertozzi

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Limitare filebrowser ad una directory radice Gianfranco <gbertozzi@gmail.com> - 2018-06-14 06:46 +0000
  Re: Limitare filebrowser ad una directory radice Alessandro Pellizzari <shuriken@amiran.it> - 2018-06-14 09:38 +0100
    Re: Limitare filebrowser ad una directory radice Gianfranco <gbertozzi@gmail.com> - 2018-06-14 10:37 +0000
      Re: Limitare filebrowser ad una directory radice Gianfranco <gbertozzi@gmail.com> - 2018-06-14 14:26 +0000

csiph-web