Hi to all,
I've seen some posts about QHttp and QNetworkAccessManager working on connections, the last seems to be the best solution but I've not found example on the Login action.
I'd like to login in a classic login_page.php as follow:
<form name="login_form" method="post" action="login.php">
<table class="width50" cellspacing="1">
<tr>
<td class="form-title">
Login </td>
<td class="right">
</td>
</tr>
<tr class="row-1">
<td class="category" width="25%">
Username </td>
<td width="75%">
<input type="text" name="username" size="32" maxlength="32" />
</td>
</tr>
<tr class="row-2">
<td class="category">
Password </td>
<td>
<input type="password" name="password" size="16" maxlength="32" />
</td>
</tr>
<tr>
<td class="center" colspan="2">
<input type="submit" class="button" value="Login" />
</td>
</tr>
</table>
</form>
<form name="login_form" method="post" action="login.php">
<table class="width50" cellspacing="1">
<tr>
<td class="form-title">
Login </td>
<td class="right">
</td>
</tr>
<tr class="row-1">
<td class="category" width="25%">
Username </td>
<td width="75%">
<input type="text" name="username" size="32" maxlength="32" />
</td>
</tr>
<tr class="row-2">
<td class="category">
Password </td>
<td>
<input type="password" name="password" size="16" maxlength="32" />
</td>
</tr>
<tr>
<td class="center" colspan="2">
<input type="submit" class="button" value="Login" />
</td>
</tr>
</table>
</form>
To copy to clipboard, switch view to plain text mode
Should you suggest a simple QNetworkAccessManager authentication code?
THANKS!!!
Bookmarks