FORM2MAIL problemesconfig .cgi

Le forum de l'Annuaire Francophone des Scripts CGI: CGI : Problème avec un des scripts de Scripts-fr: FORM2MAIL problemesconfig .cgi

Anonyme

mardi 22 août 2000 - 10h04
Bonjour,

Merci pour vos reponses sur le precedent post ... Je suis passé chez virtualave qui lui gere le cgi :).
Mon prob : je suis debutant et n arrive pas a configurer le .cgi comme il faut (je me perd ds les adresses , les chemins) kkun peut m aider ?


MERCI D AVANCE
GUILLAUME
------------------------------------------

#!/usr/bin/perl
######################################################################
# Form 2 Mail Version 1.0 #
# Copyright 1999 Frederic TYNDIUK (FTLS) All Rights Reserved. #
# E-Mail: tyndiuk@ftls.org Script License: GPL #
# Created 10/22/99 Last Modified 11/07/99 #
# Scripts Archive at: http://www.ftls.org/cgi/ #
######################################################################
# Function : #
# Send Form data to your E-Mail #
######################################################################
##################### license & copyright header #####################
# #
# Copyright (c) 1999 TYNDIUK Frederic #
# #
# 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, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program in the file 'COPYING'; if not, write to #
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, #
# Boston, MA 02111-1307, USA, or contact the author: #
# #
# TYNDIUK Frederic #
# #
# #
################### end license & copyright header ###################
######################################################################
# Necessary Variables: #
# The following variables should be set to define the locations #
# and URLs of various files, as explained in the documentation. #

require "cgi-lib.pl";

$Mail_To = 'gmiga@yahoo.fr';
$Mail_From = 'gmiga@yahoo.fr';
$Mail_Webmaster = 'gmiga@yahoo.fr';

$MAIL_CMD = '/usr/sbin/sendmail';
$USE_SENDMAIL_UNIX = 1;
# En : 1 Use unix sendmail command, 0 use Mail::Mailer module
# Fr : 1 utilise la commande sendmail unix, 0 utilise le module Mail::Mailer
#use Mail::Mailer;
# En: Only if you don't use Sendmail,
# Fr : Seulement si vous n'utilisez pas senmail

$USE_HTML_MailTo = 0; # 1 Yes/Oui, 0 No/Non
# En : Can Keep Reciept E-Mail from HTML Form, Warnig, it's dangerous...
# Fr : Autorise de prendre l'E-Mail de reception dans le formulaire HTML.

# En : Common data for HTML Result
# Fr : Donnée page resultat
$HTML_Title = 'Thanks';
$HTML_Message_Begin = '';
$HTML_Message_End = '';
$HTML_Back_Button = 'Back';
$HTML_Display_Data = 1; # 1 Yes/Oui, 0 No/Non
# En : Display submited data into HTML result page ?
# Fr : Affiche les donnee envoyee dans la page resultat ?

# En : Common data for Mail message
# Fr : Donnée pour le Mail
$Mail_Subject = 'Informations from your form';
$Mail_Message_Begin = '';
$Mail_Message_End = '';

$INVALID_MAIL_SENDER_ADDRESS_MESSAGE = 'Error : Invalid Mail sender Adress : ';

@REFERERS = ('http://www.virtualave.net/cgi-bin');

Anonyme

mardi 22 août 2000 - 15h52
MERCI J AI TROUVE LA SOLUTION ;)))

Salutations
GUILLAUME

Anonyme

vendredi 05 janvier 2001 - 18h06
hello guillaume, j ai aussi des probleme pour installer les scripts en général et je voudrais installer un formulaire, vu que tu sais faire, pourrais tu me donner un petit coup de main pour la programation, et les liens que je dois faire pour que ca fonctionne merci d'avance, tu peux éventuellement me laisser ton mail pour que ce soit plus facile ou tout simplement sur ce forum. merci


Ajouter un message


Ceci est une zone publique. Si vous n'avez pas de compte, entrez votre nom dans le champ "Identificateur" et laissez le mot de passe vide. Votre adresse E-mail est facultative.
Identificateur :  
Mot de passe :
E-mail :
Poster "anonymement"