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 8552077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:20:28+00:00 2026-06-11T14:20:28+00:00

CodeIgniter documentations says: For the best security, both the system and any application folders

  • 0

CodeIgniter documentations says:

For the best security, both the system and any application
folders should be placed above web root so that they are not directly
accessible via a browser. After moving them, open your main index.php
file and set the $system_folder and application_folder variables,
preferably with a full path, e.g. ‘/www/MyUser/system’.

and through echoing the PHP $_SERVER['DOCUMENT_ROOT'] variable I’ve gotten the document root of my remote server, which was /home/MyUserName/public_html but when I tried to do the same on my localhost I’ve gotten a different type of pathes (a windows path), it was D:/xampp/htdocs. Why? and Is there a way through which I can get a path like the first one on my localhost?

  • 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-06-11T14:20:29+00:00Added an answer on June 11, 2026 at 2:20 pm

    It’s always preferable to develop/test on the target platform (Linux here), but you can have a look at something like http://cygwin.com/ if you want to stay developing on Windows. It will get you closer.

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

Sidebar

Related Questions

I'm about to start developing a new web application in CodeIgniter. In the past,
Codeigniter won't redirect the url oauth://application properly, pinning it after the current domain like
I have been working on a web development library (for the CodeIgniter framework) that
I am building a PHP application in CodeIgniter. CodeIgniter sends all requests to the
I am building an application with codeigniter that involves adding a carer with multiple
In codeigniter I am creating an application that allows the user to upload multiple
In codeigniter application i pop up a window from a view page using href
In CodeIgniter I've got a view file setup in the root folder, then I've
I'm currently building a web app with Codeigniter. I noticed their documentation favors segmented
I have a CodeIgniter 2.0 application in a subfolder of our existing corporate site.

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.