phraseanet ne me convient pas trops.... merci quand mêmeSlt ,
j'ai eu l'occasion de voir Phraseanet au salon Open Source , et je pense que ca colle avec ce que tu souhaites .
Ch.
Mon souci est que je ne recois pas mon formulaire, en vérité je ne recois pas le mail,Le bouton Envoyer fonctionne ... et en GET ... quel est le problème ?
comme je l'ai précisé mes base php sont "débutant", j'ai donc rectifié: <form action="mailto:[email protected]" name="guestbook" id="guestbook">Oui alors déjà <form action "?" method="post" name="guestbook" id="guestbook">
Code : Tout sélectionner
<script type="text/javascript">
function addText(instext) {
var mess = document.guestbook.message;
//IE support
if (document.selection) {
mess.focus();
sel = document.selection.createRange();
sel.text = instext;
document.guestbook.focus();
}
//MOZILLA/NETSCAPE support
else if (mess.selectionStart || mess.selectionStart == "0") {
var startPos = mess.selectionStart;
var endPos = mess.selectionEnd;
var chaine = mess.value;
mess.value = chaine.substring(0, startPos) + instext + chaine.substring(endPos, chaine.length);
mess.selectionStart = startPos + instext.length;
mess.selectionEnd = endPos + instext.length;
mess.focus();
} else {
mess.value += instext;
mess.focus();
}
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function PopupImage(img) {
titre="Agrandissement";
w=open("",'image','width=400,height=400,toolbar=no,scrollbars=yes,resizable=no');
w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>");
w.document.write("<BODY onload='checksize()' onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>");
w.document.write("<TD valign='middle' align='center'><IMG src='"+img+"' border=0 alt=' Image dans pop-up '>");
w.document.write("</TD></TR></TABLE>");
w.document.write("</BODY></HTML>");
w.document.close();
}
//-->
</SCRIPT>
</head><body class="time">
<p class="naissancebis"><img src="titre copie.gif" alt="" width="1057" height="200" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="835,33,1032,100" href="cadeauxp1.html" />
</map>
</p>
<p class="naissancebis"><a href="http://www.clichesdevie.fr/index.html" target="_blank"><img src="bouton accueuil copie.gif" alt="" width="172" height="36" /></a></p>
<p>(Cliquer sur les photos pour remplier le formulaire)</p>
<blockquote>
<table width="847" border="0" align="center" cellspacing="0">
<tr>
<td height="39" class="time"><a href="#" onclick="addText('001;');return(false)"><a href="#" onclick="addText('001;');return(false)"><a href="#" onclick="addText('001;');return(false)"><img src="images/0001.jpg"" alt="" width="215" height="134" hspace="20" border="2"images/0001.jpg /></a> </td>
<td> </td>
<td>
<a href="#" onclick="addText('002;');return(false)"><img src="images/0002.jpg"" alt="groupe 2" width="215" height="134" border="2"images/0002.jpg /></a> </td>
<td> </td>
<td><a href="#" onclick="addText('003;');return(false)"><img src="images/0003.jpg"" alt="" width="106" height="134" hspace="20" border="2"images/0001.jpg /></a> </td>
<td> </td>
<td><a href="#" onclick="addText('004;');return(false)"><img src="images/0004.jpg"" alt="" width="215" height="134" border="2"images/0001.jpg /></a> </td>
</tr>
<tr>
<td height="20" class="naissance"><strong class="ARIAL">N° 0001</strong></td>
<td> </td>
<td class="ARIAL"><strong>N° 0002</strong></td>
<td> </td>
<td class="ARIAL"><strong>N° 0003</strong></td>
<td> </td>
<td class="ARIAL"><strong>N° 0004</strong></td>
</tr>
<tr>
<td width="221" height="39" class="time">
<a href="javascript:PopupImage('images/0001.jpg')"><img src="loupe orange.png" alt="Cliquer pour agrandir" width="30" height="30" border="0" class="image"></a> </td>
<td width="17"> </td>
<td width="231"><blockquote>
<p><a href="javascript:PopupImage('images/0002.jpg')"><img src="loupe orange.png" alt="Cliquer pour agrandir" width="30" height="30" border="0" class="image"></a></p>
</blockquote></td>
<td width="18"> </td>
<td width="108"><a href="javascript:PopupImage('images/0003.jpg')"><img src="loupe orange.png" alt="Cliquer pour agrandir" width="30" height="30" border="0" class="image" /></a></td>
<td width="19"> </td>
<td width="219"><a href="javascript:PopupImage('images/0004.jpg')"><img src="loupe orange.png" alt="Cliquer pour agrandir" width="30" height="30" border="0" class="image" /></a></td>
</tr>
</table>
</blockquote>
<?php
if ($_POST['message']) {
if(get_magic_quotes_gpc()) $_POST['message'] = stripslashes($_POST['message']);
if (!@mail('arnould****@free.fr','Nouveau message',$_POST['message'])) echo "Erreur !!";
}
?>
<form action="?" method="post">
<p>
<textarea name="message" cols="40" rows="10"></textarea>
</p>
<input type="submit" value="Envoyer" />
</form><noscript>
<span class="naissance"></span>
</noscript>
<span class="naissance">
</p>
</span>
</body>