Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

194
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!