I\'m currently working on a mobile site with authentication using PHP sessions with a database.
I have a login page with a form that goes to server_login.php
if the php files are in the same folder and this is better because if you want to host the files
or change the port you will have no problem reaching this URL.