Skip to content Skip to sidebar Skip to footer

PHP Form Action Can't Locate File. PHP

I have a login form with an action heading to the con_login.php file. When the con_login.php is under the same folder as the current page everything works fine. But i want the file

Solution 1:

The "action" is an absolute URL, i.e the URL you might type into your browser (because it's your browser that will open it, not the server), not a virtual URL as you might use in your include statements. So it needs to be expressed relative to the virtual root of your web site.


Post a Comment for "PHP Form Action Can't Locate File. PHP"