Récupération de données HTML par PHP
Spicy.
-
gigaga Messages postés 2347 Date d'inscription Statut Membre Dernière intervention -
gigaga Messages postés 2347 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
J'ai passé plus de 5h à lire des sujets disant comment créer un formulaire html, ce que j'ai fait.
Maintenant le problème que je rencontre est un problème que beaucoup de personnes rencontrent.
Je voudrais supprimer la fenêtre otlook qui s'affiche en passant donc par un fichier php.
Le problème est que je ne comprends strictement rien en PHP.
J'ai créé mon formulaire html, est-ce que quelqun pourrait me créer le code à inscrire dans une autre page en "traduisant" mes données HTML en PHP ?
Je remercie d'avance la gentille personne qui m'aidera :$
<html>
<head>
<style>
<!--
BODY{
cursor:url("cross_16903.cur" );
}
-->
</style>
<style type="text/css">
a {
color: #808080;
font-style: bold
}
a:active {
color: #808080;
}
a:hover {
text-transform: uppercase;
color: #c0c0c0;
background-color: #66425B;
}
</style>
<script language="javascript" type=text/javascript>
function affich_cadre(arg) {
arg.style.border = '#000000 1px dotted'
}
function efface_cadre(arg) {
arg.style.border = '0'
}
</script>
</head>
<head><title>Home</title>
<body bgcolor="#C0C0C0">
<img src="http://tinypic.com/images/goodbye.jpg" border="0" usemap="#Map"></head>
<map name="Map">
<area shape="rect" coords="120,242,201,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="223,242,306,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="320,242,415,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="430,242,535,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="548,242,650,256" href="https://www.118712.fr/sortir.html" />
<body>
<br>
<div style="position: absolute; top: 300px; left: 275px; width: 430px">
<br>
<p>
<style type="text/css">
p {
letter-spacing: 5px;
}
</style>
<p><span style="background:#6F5EA6"><font color="#000000" face="Tahoma" size="2"><b>CHALLENGE N°1</b></font>
<font color="#6F5EA6">++++++++++++++++++</font>
</span>
</p>
<form name="formulaire_mail" method="post" action"new2.php">
<font color="#000000" face="Tahoma" size="1">
<b>Enregistrement d'un utilisateur</b></font>
<TABLE BORDER=0>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Pseudo/Prénom :</font></TD>
<TD>
<INPUT type=text name="pseudo">
</TD>
</TR>
<TR>
<TD><font color="#c0c0c0" face="Tahoma" size="1">Challenges</font></TD>
<TD>
<font color="#000000" face="Tahoma" size="1">Challenge 1 : <INPUT type=checkbox name="challenge" value="1">
<br>Challenge 2 : <INPUT type=checkbox name="challenge" value="2">
<br>Challenge 3 : <INPUT type=checkbox name="challenge" value="3">
<br>Challenge 4 : <INPUT type=checkbox name="challenge" value="4">
<br>Challenge 5 : <INPUT type=checkbox name="challenge" value="5">
</font></TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Logiciel utilisé</font></TD>
<TD>
<SELECT name="fonction">
<OPTION VALUE="enseignant">Photofiltre</OPTION>
<OPTION VALUE="etudiant">Photoshop</OPTION>
<OPTION VALUE="ingenieur">PS</OPTION>
<OPTION VALUE="retraite">The Gimp</OPTION>
<OPTION VALUE="autre">Autre</OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Url de tes images
<br><i>(Sépare les liens par une virgule)</i></font></TD>
<TD>
<TEXTAREA rows="6" name="url" cols="40">
Url de l'image</TEXTAREA>
</TD>
</TR>
<TR>
<TD COLSPAN=2>
<input type="submit" name="envoi" value="Envoyer mail">
</TD>
</TR>
</TABLE>
</FORM>
<script language='javascript'>document.write('<img src="https://www.118712.fr/sortir.html + Math.round(Math.random()*100000) + '" width=1 height=1>'); </script>
<script language='javascript'>document.write('<img src="http://e.voila.fr/cgi-bin/ft/10000033638?&page=lald_index.html&n=' + Math.round(Math.random()*100000) + '" width=1 height=1>');</script></body>
</html>
<html>
<head>
<style>
<!--
BODY{
cursor:url("cross_16903.cur" );
}
-->
</style>
<style type="text/css">
a {
color: #808080;
font-style: bold
}
a:active {
color: #808080;
}
a:hover {
text-transform: uppercase;
color: #c0c0c0;
background-color: #66425B;
}
</style>
<script language="javascript" type=text/javascript>
function affich_cadre(arg) {
arg.style.border = '#000000 1px dotted'
}
function efface_cadre(arg) {
arg.style.border = '0'
}
</script>
</head>
<head><title>Home</title>
<body bgcolor="#C0C0C0">
<img src="http://tinypic.com/images/goodbye.jpg" border="0" usemap="#Map"></head>
<map name="Map">
<area shape="rect" coords="120,242,201,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="223,242,306,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="320,242,415,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="430,242,535,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="548,242,650,256" href="https://www.118712.fr/sortir.html" />
<body>
<br>
<div style="position: absolute; top: 300px; left: 275px; width: 430px">
<br>
<p>
<style type="text/css">
p {
letter-spacing: 5px;
}
</style>
<p><span style="background:#6F5EA6"><font color="#000000" face="Tahoma" size="2"><b>CHALLENGE N°1</b></font>
<font color="#6F5EA6">++++++++++++++++++</font>
</span>
</p>
<form name="formulaire_mail" method="post" action"index.php">
<font color="#000000" face="Tahoma" size="1">
<b>Enregistrement d'un utilisateur</b></font>
<TABLE BORDER=0>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Pseudo/Prénom :</font></TD>
<TD>
<INPUT type=text name="pseudo">
</TD>
</TR>
<TR>
<TD><font color="#c0c0c0" face="Tahoma" size="1">Challenges</font></TD>
<TD>
<font color="#000000" face="Tahoma" size="1">Challenge 1 : <INPUT type=checkbox name="challenge" value="1">
<br>Challenge 2 : <INPUT type=checkbox name="challenge" value="2">
<br>Challenge 3 : <INPUT type=checkbox name="challenge" value="3">
<br>Challenge 4 : <INPUT type=checkbox name="challenge" value="4">
<br>Challenge 5 : <INPUT type=checkbox name="challenge" value="5">
</font></TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Logiciel utilisé</font></TD>
<TD>
<SELECT name="fonction">
<OPTION VALUE="enseignant">Photofiltre</OPTION>
<OPTION VALUE="etudiant">Photoshop</OPTION>
<OPTION VALUE="ingenieur">PS</OPTION>
<OPTION VALUE="retraite">The Gimp</OPTION>
<OPTION VALUE="autre">Autre</OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Url de tes images
<br><i>(Sépare les liens par une virgule)</i></font></TD>
<TD>
<TEXTAREA rows="6" name="url" cols="40">
Url de l'image</TEXTAREA>
</TD>
</TR>
<TR>
<TD COLSPAN=2>
<input type="submit" name="envoi" value="Envoyer mail">
</TD>
</TR>
</TABLE>
</FORM>
<script language='javascript'>document.write('<img src="https://www.118712.fr/sortir.html + Math.round(Math.random()*100000) + '" width=1 height=1>'); </script>
<script language='javascript'>document.write('<img src="http://e.voila.fr/cgi-bin/ft/10000033638?&page=lald_index.html&n=' + Math.round(Math.random()*100000) + '" width=1 height=1>');</script></body>
</html>
J'ai passé plus de 5h à lire des sujets disant comment créer un formulaire html, ce que j'ai fait.
Maintenant le problème que je rencontre est un problème que beaucoup de personnes rencontrent.
Je voudrais supprimer la fenêtre otlook qui s'affiche en passant donc par un fichier php.
Le problème est que je ne comprends strictement rien en PHP.
J'ai créé mon formulaire html, est-ce que quelqun pourrait me créer le code à inscrire dans une autre page en "traduisant" mes données HTML en PHP ?
Je remercie d'avance la gentille personne qui m'aidera :$
<html>
<head>
<style>
<!--
BODY{
cursor:url("cross_16903.cur" );
}
-->
</style>
<style type="text/css">
a {
color: #808080;
font-style: bold
}
a:active {
color: #808080;
}
a:hover {
text-transform: uppercase;
color: #c0c0c0;
background-color: #66425B;
}
</style>
<script language="javascript" type=text/javascript>
function affich_cadre(arg) {
arg.style.border = '#000000 1px dotted'
}
function efface_cadre(arg) {
arg.style.border = '0'
}
</script>
</head>
<head><title>Home</title>
<body bgcolor="#C0C0C0">
<img src="http://tinypic.com/images/goodbye.jpg" border="0" usemap="#Map"></head>
<map name="Map">
<area shape="rect" coords="120,242,201,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="223,242,306,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="320,242,415,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="430,242,535,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="548,242,650,256" href="https://www.118712.fr/sortir.html" />
<body>
<br>
<div style="position: absolute; top: 300px; left: 275px; width: 430px">
<br>
<p>
<style type="text/css">
p {
letter-spacing: 5px;
}
</style>
<p><span style="background:#6F5EA6"><font color="#000000" face="Tahoma" size="2"><b>CHALLENGE N°1</b></font>
<font color="#6F5EA6">++++++++++++++++++</font>
</span>
</p>
<form name="formulaire_mail" method="post" action"new2.php">
<font color="#000000" face="Tahoma" size="1">
<b>Enregistrement d'un utilisateur</b></font>
<TABLE BORDER=0>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Pseudo/Prénom :</font></TD>
<TD>
<INPUT type=text name="pseudo">
</TD>
</TR>
<TR>
<TD><font color="#c0c0c0" face="Tahoma" size="1">Challenges</font></TD>
<TD>
<font color="#000000" face="Tahoma" size="1">Challenge 1 : <INPUT type=checkbox name="challenge" value="1">
<br>Challenge 2 : <INPUT type=checkbox name="challenge" value="2">
<br>Challenge 3 : <INPUT type=checkbox name="challenge" value="3">
<br>Challenge 4 : <INPUT type=checkbox name="challenge" value="4">
<br>Challenge 5 : <INPUT type=checkbox name="challenge" value="5">
</font></TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Logiciel utilisé</font></TD>
<TD>
<SELECT name="fonction">
<OPTION VALUE="enseignant">Photofiltre</OPTION>
<OPTION VALUE="etudiant">Photoshop</OPTION>
<OPTION VALUE="ingenieur">PS</OPTION>
<OPTION VALUE="retraite">The Gimp</OPTION>
<OPTION VALUE="autre">Autre</OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Url de tes images
<br><i>(Sépare les liens par une virgule)</i></font></TD>
<TD>
<TEXTAREA rows="6" name="url" cols="40">
Url de l'image</TEXTAREA>
</TD>
</TR>
<TR>
<TD COLSPAN=2>
<input type="submit" name="envoi" value="Envoyer mail">
</TD>
</TR>
</TABLE>
</FORM>
<script language='javascript'>document.write('<img src="https://www.118712.fr/sortir.html + Math.round(Math.random()*100000) + '" width=1 height=1>'); </script>
<script language='javascript'>document.write('<img src="http://e.voila.fr/cgi-bin/ft/10000033638?&page=lald_index.html&n=' + Math.round(Math.random()*100000) + '" width=1 height=1>');</script></body>
</html>
<html>
<head>
<style>
<!--
BODY{
cursor:url("cross_16903.cur" );
}
-->
</style>
<style type="text/css">
a {
color: #808080;
font-style: bold
}
a:active {
color: #808080;
}
a:hover {
text-transform: uppercase;
color: #c0c0c0;
background-color: #66425B;
}
</style>
<script language="javascript" type=text/javascript>
function affich_cadre(arg) {
arg.style.border = '#000000 1px dotted'
}
function efface_cadre(arg) {
arg.style.border = '0'
}
</script>
</head>
<head><title>Home</title>
<body bgcolor="#C0C0C0">
<img src="http://tinypic.com/images/goodbye.jpg" border="0" usemap="#Map"></head>
<map name="Map">
<area shape="rect" coords="120,242,201,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="223,242,306,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="320,242,415,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="430,242,535,256" href="https://www.118712.fr/sortir.html" />
<area shape="rect" coords="548,242,650,256" href="https://www.118712.fr/sortir.html" />
<body>
<br>
<div style="position: absolute; top: 300px; left: 275px; width: 430px">
<br>
<p>
<style type="text/css">
p {
letter-spacing: 5px;
}
</style>
<p><span style="background:#6F5EA6"><font color="#000000" face="Tahoma" size="2"><b>CHALLENGE N°1</b></font>
<font color="#6F5EA6">++++++++++++++++++</font>
</span>
</p>
<form name="formulaire_mail" method="post" action"index.php">
<font color="#000000" face="Tahoma" size="1">
<b>Enregistrement d'un utilisateur</b></font>
<TABLE BORDER=0>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Pseudo/Prénom :</font></TD>
<TD>
<INPUT type=text name="pseudo">
</TD>
</TR>
<TR>
<TD><font color="#c0c0c0" face="Tahoma" size="1">Challenges</font></TD>
<TD>
<font color="#000000" face="Tahoma" size="1">Challenge 1 : <INPUT type=checkbox name="challenge" value="1">
<br>Challenge 2 : <INPUT type=checkbox name="challenge" value="2">
<br>Challenge 3 : <INPUT type=checkbox name="challenge" value="3">
<br>Challenge 4 : <INPUT type=checkbox name="challenge" value="4">
<br>Challenge 5 : <INPUT type=checkbox name="challenge" value="5">
</font></TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Logiciel utilisé</font></TD>
<TD>
<SELECT name="fonction">
<OPTION VALUE="enseignant">Photofiltre</OPTION>
<OPTION VALUE="etudiant">Photoshop</OPTION>
<OPTION VALUE="ingenieur">PS</OPTION>
<OPTION VALUE="retraite">The Gimp</OPTION>
<OPTION VALUE="autre">Autre</OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD><font color="#000000" face="Tahoma" size="1">Url de tes images
<br><i>(Sépare les liens par une virgule)</i></font></TD>
<TD>
<TEXTAREA rows="6" name="url" cols="40">
Url de l'image</TEXTAREA>
</TD>
</TR>
<TR>
<TD COLSPAN=2>
<input type="submit" name="envoi" value="Envoyer mail">
</TD>
</TR>
</TABLE>
</FORM>
<script language='javascript'>document.write('<img src="https://www.118712.fr/sortir.html + Math.round(Math.random()*100000) + '" width=1 height=1>'); </script>
<script language='javascript'>document.write('<img src="http://e.voila.fr/cgi-bin/ft/10000033638?&page=lald_index.html&n=' + Math.round(Math.random()*100000) + '" width=1 height=1>');</script></body>
</html>
A voir également:
- Récupération de données HTML par PHP
- Fuite données maif - Guide
- Editeur html - Télécharger - HTML
- Supprimer les données de navigation - Guide
- Logiciel de récupération de données - Guide
- Convertisseur récupération de texte - Guide
1 réponse
Exemples formulaire + mail + PHP + HTML :
http://www.6ma.fr/tuto/formulaire-php-et-envoi-par-email/
http://www.salemioche.net/script-php-1.php
http://www.6ma.fr/tuto/formulaire-php-et-envoi-par-email/
http://www.salemioche.net/script-php-1.php