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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:59:40+00:00 2026-06-05T21:59:40+00:00

Just to give a little background: I’m using Dreamweaver CS5 for coding php, XAMPP

  • 0

Just to give a little background:
I’m using Dreamweaver CS5 for coding php, XAMPP apache as a test server, and 000WebHost.com for free hosting for testing on a remote server.

I coded an application with a login form that requests images and stores them above webroot along with a few other secure files. All of the program works 100% perfectly on apache as my test server on my laptop. The second I copied the files to my remote server, any links attempting to access outside webroot are broken. I can get to my login page and a simple processing script that is under webroot, but not past it.

Why are my links suddenly broken? I triple checked that all of the relative paths are correct, using a file structure such as:

  • Includes
  • Images
  • Secure
  • public_html

from public_html, I used the file path:
$path = ‘../Secure/test1.php’;

Thanks for any help, I really need to finish this soon.

  • 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-05T21:59:41+00:00Added an answer on June 5, 2026 at 9:59 pm

    As said Musa, you shouldn’t be able to access anything outside you “public_html” directory. Instead, you should put all the other directories in it, and change (if needed) relative paths of the links so that they work wit ha structure like this:

    public_html
    |
    |_Includes
    |
    |_Images
    |
    |_Secure
    

    EDIT: As said in my comment to this answer, i’m referring to the hosting company you are using, not to each and every hoster out there. It’s a free one, not everything is as we want it 🙂

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

Sidebar

Related Questions

I just had a test on java and we had to give the definition
Just to give a little more context to the question, I have a web
I will give a little background. I'm working on a pay-per-click engine, and I
I'll give you a little bit of background first as to why I'm asking
If I were to say the heck with it!, I could just give my
Just to give you a fair idea, I am new to the web development
I have written a Perl script, I just want to give it to every
Sorry if this is dumb but I was just thinking I should give a
The compiler doesn't give me any error and the code runs. Just curious how
hay all, I just did the following: a = input(give a word: ) b

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.