login em mail com formulario em flash
galera, seguinte, to fazendo um painel aqui e to tentando logar em um mail usando um painel, tentei seguir os topicos que existem aqui mas nao dei conta, meu php eh fraquissimo, entao resolvi postar, coloquei duas input box no painel, a login e a senha, e o botao de ok, e tirei o script em php do site q ja faz o login:
ALGUEM TEM COMO ME DAR UMA LUZ, ME DIZENDO OS COMANDOS QUE TENHO Q USAR NO FLASH PRA PODER LOGAR NO SITE?
o script eh esse aqui e tirei do codigo font do link http://www.lesteweb.com.br/webmail/
<!--
Page generated by UebiMiau 2.7
All rights reserved to Aldoir Ventura - aldoir AT users.sourceforge.net
This is a free software licensed under the GPL terms, see www.gnu.org for more info
http://uebimiau.sourceforge.net
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
Uebimiau Webmail - Login
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="themes/uebimiau/webmail.css" type="text/css">
</head>
<!--
Skinned by Arnaud BEAUVOIR - [http://forum.beauvoir.net](http://forum.beauvoir.net) - contact@beauvoir.net
Thank you to let the copyright in place on the login page and in all sources of pages.
This skin is the work of an author, thank you to respect it and not to remove the
copyright, or worse, to put your name at the place.
-->
<script language=javascript>
function selectLanguage() {
sSix = '';
sUser = '';
sEmail = '';
sLanguage = '';
sTheme = '';
try {
frm = document.forms[0];
if(frm.six && frm.six.options)
sSix = frm.six.options[frm.six.selectedIndex].value;
if(frm.f_user)
sUser = frm.f_user.value;
if(frm.f_email)
sEmail = frm.f_email.value;
if(frm.tem)
sTheme = frm.tem.options[frm.tem.selectedIndex].value;
if(frm.lng)
sLanguage = frm.lng.options[frm.lng.selectedIndex].value;
sLocation = 'index.php?lid='+sLanguage+'&tid='+sTheme+'&f_user='+escape(sUser)+'&six='+sSix+'&f_email='+sEmail;
location.replace(sLocation);
} catch(err) {
alert('Your brownser do not support JS');
}
}
</script>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="middle" align="center">
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="themes/uebimiau/images/bandeau-h.gif" border="0"></td>
</tr>
<tr>
<td><img src="themes/uebimiau/images/logo.gif" border="0"></td>
</tr>
<tr>
<td><img src="themes/uebimiau/images/bandeau-h.gif" border="0"></td>
</tr>
<tr>
<td background="themes/uebimiau/images/ligne-fond.gif">
<table width="350" border="0" cellspacing="1" cellpadding="1" align="center">
<form name="form1" action="process.php" method=post>
<tr>
<td align="center" colspan="2">
<br>.:
<b>Bem Vindo. Por favor informe seus dados</b>
:.
<br>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td align="left" width="40%">
<b>Login</b>
:
</td>
<td>
<input type="text" name="f_user" value="" class="normal" style="width: 80px; border: 1 solid #7F9DB9">
<b>@lesteweb.com.br <input type=hidden name=six value=0></b>
</td>
</tr>
<tr>
<td align="left" width="40%">
<b>Senha</b>
:
</td>
<td>
<input type="password" name="f_pass" class="normal" style="width: 80px; border: 1 solid #7F9DB9">
</td>
</tr>
<tr>
<td align="left" width="40%">
<b>Idioma</b>
:
</td>
<td>
<select name=lng onChange=selectLanguage()>
<option value="bg">Polish
<option value="cz_iso">Czech
<option value="ch_big5">Chinese Traditional (BIG5)
<option value="nl">Dutch (Netherlands)
<option value="dk">Danish
<option value="en_UK">English
<option value="es">Español
<option value="fr">French
<option value="de">German
<option value="he">Hebrew
<option value="hu">Hungarian
<option value="it">Italian
<option value="is">Icelandic
<option value="nb">Norwegian
<option value="pt_BR" selected>Portuguese
<option value="ro">Romenian
<option value="ru">Russian
<option value="ru_KOI">Russian (KOI8)
<option value="se">Swedish
<option value="th">Thailand
<option value="tr">Turkish
</select>
</td>
</tr>
<tr>
<td align="left">
<b>Tema</b>
:
</td>
<td>
<select name=tem onChange=selectLanguage()>
<option value="default" selected>UebiMiau Default
</select>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td class="left">
</td>
<td>
<input type="submit" name="submit" value="Acessar >>" class="button">
</td>
</tr>
<tr>
<td>
</td>
</tr>
</form>
</table>
</td>
</tr>
<tr>
<td>
<map name="Uebimiau">
<area shape="rect" coords="318,5,371,18" href="[http://www.uebimiau.org"](http://www.uebimiau.org) target="_blank">
<area shape="rect" coords="442,5,552,16" href="[http://forum.beauvoir.net"](http://forum.beauvoir.net) target="_blank">
</map>
<img src="themes/uebimiau/images/bandeau-b.gif" border="0" width="750" height="25" alt="Webmail powered by Uebimiau - Skinned by Forum.beauvoir.net" usemap="#Uebimiau">
</td>
<tr>
</table>
</td>
</tr>
</table>
</body>
</html>Discussão (12)
Carregando comentários...