Posté : 23-06-2004 12:37
Citation : mamour
Salut,
j'ai lu les informations mais je ne comprend pas tout.
voici ce que j'ai fait dans le fichier contact mais cela ne marche pas amon avis j'ai pas mis les lignes au bon endroit.
<?
/************************************************************************/
br />/* SFORM Extender for NPDS V Contact Example */
/* =========================== */
/* */
/* 2002 - 2003 */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
br />/* Dont modify this file is you dont know what you make */
/************************************************************************/
br />
global $ModPath, $ModStart;
$sform_path="modules/sform/";
!!include!!_once($sform_path."sform.php");
global $m;
$m=new form_handler();
//********************
$m->add_form_title("CONTACT");
$m->add_form_method("post");
$m->add_form_check("true");
$m->add_mess(" * désigne un champ obligatoire ");
$m->add_submit_value("ok");
$m->add_!!url(!!"modules.php");
$m->add_field("ModStart","",$ModStart,'hidden',false);
$m->add_field("ModPath","",$ModPath,'hidden',false);
/************************************************/
!!include!!($sform_path."contact/formulaire1.php");
/************************************************/
// Manage the |