Because you did not read.
Read carefully and follow instructions
From which file?
Because you did not read.
Read carefully and follow instructions
From which file?
config.php
I donât see how that code would make any connections.
All what it will do is to retrieve the full link base on a relative path, and thatâs all.
I know that you have codes above, but since you explicity asked for this part, thatâs all of my answer.
Because there is no index file in the folder. When a hosting server tries to load a website folder, it will look for a file called index.php
, index.html
or index.htm
, which will be loaded as the âhome pageâ of that folder. If no such file exists, youâll see a 403 error.
Please choose which page you want to have as your websiteâs home page, and rename it to index.php
so it gets loaded as the main page.
Defining a constant and a function in PHP isnât go to do anything if the PHP code isnât triggered. Which is the case here: our servers have no idea how to use your website code to render a page because the right files donât exist in the expected location.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.