I'm developing a simple application. The layout is:
when you open the application, a login screen appears.
After the user clicks on the button "login", the application sends the two fields (username and password) to a login.php. login.php is:
<form method="POST">
<label for="id_username">Username:</label>
<input id="id_username" type="text" name="username" maxlength="30" />
<label for="id_password">Password:</label>
<input type="password" name="password" id="id_password" />
<input type="submit" class="bigbutton" value="login"/>
</form>
If the login is correct the loginview disappears and a tabbar controller will appear.
How can I send the two fields username and password to my page.php? And how can I receive a cookie for that?