D
D
Dauren S2017-06-23 12:52:16
css
Dauren S, 2017-06-23 12:52:16

Opening php file from top directory?

there is a web folder in it index.php. At the web level is the modules folder. It contains the news module. It has 1.php.
The question is how to open the modules/news/1.php address from the web/index.php root in the browser?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pit, 2018-11-22
@pit6262

There is no such bug in bootstrap 4 itself, which means that something is going wrong on your site, you need to look at your code, but better give a link to view, there I can answer why you have a bug

E
Eugene Volf, 2017-06-23
@dauren101

The question is how to open the modules/news/1.php address from the web/index.php root in the browser?
If, when entering the site, the web/index.php file is displayed at the address "/" (i.e. "main page"), and we need to open the moules/news/ folder one level higher and open the 1.php file from it, then logically the address would look something like this: "/../modules/news/1.php". But, only if such access is allowed and allowed in the web server settings (which is unlikely). In other words, the most likely answer to your question is "no way".
If you have access to the web server configuration, you can try to make a "special" address for this page, or put the entire "modules/news" folder on a separate URL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question