Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6903877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:58:48+00:00 2026-05-27T07:58:48+00:00

I have my root folder set to /var/www/html , but I have php program

  • 0

I have my root folder set to /var/www/html, but I have php program that suppose to access/read Reminder folder (and its content) which is located in /home/billing/work/output/Reminder, scan the folder content (directories, sub-directories, files) and return the file names.

I work on Linux, and I have tried:

set_include_path("/home/billing/work/output/Reminder");
include("/home/billing/work/output/Reminder");

I have added a symlink in the root to the Reminder folder, but none of this stuff works.
I have a variable:

$dir="/home/billing/work/output/Reminder"

and when I examine if is_dir($dir) I get false.

Can Anyone tell me how can I access the Reminder directory so I can scan the directory?
My user has permissions to Reminder folder, also I have the functions or scanning the folder and they work fine on my local host. Any help will be appreciated, I’ve been struggling for a week now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:58:49+00:00Added an answer on May 27, 2026 at 7:58 am

    Unless safe mode and/or open_basedir restrictions are in effect, you should be able to open files from anywhere on the local filesystem. Just provide the file/directory function you’re using with the correct path.

    Of course when dealing with the filesystem then you are also dealing with filesystem permissions, so the files and directories you’re working with need to be readable by whichever user PHP is running as (If being run by the web server then this will typically be the web server user).

    If the above restrictions are in effect, then I’m afraid you’re stuck.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created an application that writes some data to the root folder of
I have a page that sites in a first level folder from my root
I have a PHP script located in my Wordpress installation's root folder wordpress-root/includes/login.php When
Here's my situation. I have a web root and several subdirectories, let's say: /var/www
I am using a machine on which I do not have root access and
Currently I have a root-level repository set up for each project, like so: Project1
Let's say we have the following schema: root/ application/ -public/ index.php css/ img/ javascript/
I have an existing SVN repository which contains a folder that holds my project.
I have a wordpress instance installed in joomla's root folder, I would like to
Hey, I have a PHP Windows Azure project but I am new to IIS.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.