Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

195
Vistas
PHP file in www dir can't access images in user dir

I have a PHP file in my var/www directory and I want it to read images from the /user/folder/folder directory. I have tried creating a soft link to the user folder, however, nothing seems to be working. Any help would be greatly appreciated. To note, my permissions for dir and all files is set to 755 and the user and group are set to my username (pass required for access).

$files = glob("~user/downloads/other/*.*");

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Seems to work fine when you include the full file path. Not sure what OS you're on, but should be similar to glob("/Users/yourusername/downloads/*.*");

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda