and continue on a blank page. In my localhost server, this doesn’t have the problem.
Is it regarding to my post request? I’m using PHP as a back end on my post request
The question to ask here is not “how can I make my browser load this URL”, but “how can I make my browser not TRY to load this URL”. Because that URL is the default URL you’re redirected to if the requested page cannot be found. So if you see that URL in your browser’s log, that typically means you have a broken URL in your website.
I fixed it. Somewhat the error didn’t occur but instead of that error there is a server side error.
Warning : include_once(): open_basedir restriction in effect. File(…/database/connect.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol9_1/epizy.com/epiz_25327408/htdocs) in /home/vol9_1/epizy.com/epiz_25327408/htdocs/php/functions.php on line *8
The problem is free hosting can’t accept input on include or require like this ../directory so I move my php file with that code inside the htdocs
Relative paths for requires and includes should just work. As long as the path you’re including is within the paths PHP is allowed to access, at least.