ravaza
16/03/2004, 09h18
Bonjour,
je viens de transferer un script mail qui fonctionne en local sur un 60gp mais la ca ne fonctionne plus :(
Je pense qu'il n'y a pas grand chsoer a changer mais je ne vois pas quoi...
SCRIPT PHP:
<?php
//$to="france@terredeslangues.com";
$to="ravaz@univ-tours.fr";
$subject = "Application form";
$corps = "Informations: \n";
$corps .= " _______ \n";
$corps .= "LAST NAME : $lastname \n";
$corps .= "FIRST NAME : $firstname \n";
$corps .= "BIRTHDATE : $birthdate \n";
$corps .= "SEX : $sex \n";
$corps .= "CLASS :$class \n";
$corps .= "Nationality : $nationality \n";
$corps .= "Program reference : $program_reference \n";
$corps .= "Previous stays abroad: $Previous_stays_abroad \n";
$corps .= "Years : $years \n";
$corps .= "country: $pcountry \n";
$corps .= "number of years of french: $number_of_years_of_french \n";
$corps .= "Other languages studied : $other_languages_studied \n";
$corps .= "parents: $parents \n";
$corps .= "father/mother first name: $parents_name \n";
$corps .= "address: $parents_address \n";
$corps .= "zipcode: $parents_zipcode \n";
$corps .= "city & country name: $parents_citycountry_name \n";
$corps .= "home telephone: $parents_homephone \n";
$corps .= "fax number: $parents_fax \n";
$corps .= "business telephone: $parents_businessphone \n";
$corps .= "email: $parents_email \n";
$corps .= "international flight: $international_flight \n";
$corps .= "insurance: $insurance \n";
$header="From:email@mail.com \n";
$header.="Reply-to:webmaster@tonsite.com \n";
$header.="Bcc:tonadresse@email.com";
mail(
$to,
$subject,
$corps,
$header
);
?>
MESSAGE D'ERREUR:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, tech@ovh.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
------------------------------------------------------------------------
Apache/1.3.29 Server at 60gp.ovh.net Port 80
D'avance merci.
je viens de transferer un script mail qui fonctionne en local sur un 60gp mais la ca ne fonctionne plus :(
Je pense qu'il n'y a pas grand chsoer a changer mais je ne vois pas quoi...
SCRIPT PHP:
<?php
//$to="france@terredeslangues.com";
$to="ravaz@univ-tours.fr";
$subject = "Application form";
$corps = "Informations: \n";
$corps .= " _______ \n";
$corps .= "LAST NAME : $lastname \n";
$corps .= "FIRST NAME : $firstname \n";
$corps .= "BIRTHDATE : $birthdate \n";
$corps .= "SEX : $sex \n";
$corps .= "CLASS :$class \n";
$corps .= "Nationality : $nationality \n";
$corps .= "Program reference : $program_reference \n";
$corps .= "Previous stays abroad: $Previous_stays_abroad \n";
$corps .= "Years : $years \n";
$corps .= "country: $pcountry \n";
$corps .= "number of years of french: $number_of_years_of_french \n";
$corps .= "Other languages studied : $other_languages_studied \n";
$corps .= "parents: $parents \n";
$corps .= "father/mother first name: $parents_name \n";
$corps .= "address: $parents_address \n";
$corps .= "zipcode: $parents_zipcode \n";
$corps .= "city & country name: $parents_citycountry_name \n";
$corps .= "home telephone: $parents_homephone \n";
$corps .= "fax number: $parents_fax \n";
$corps .= "business telephone: $parents_businessphone \n";
$corps .= "email: $parents_email \n";
$corps .= "international flight: $international_flight \n";
$corps .= "insurance: $insurance \n";
$header="From:email@mail.com \n";
$header.="Reply-to:webmaster@tonsite.com \n";
$header.="Bcc:tonadresse@email.com";
mail(
$to,
$subject,
$corps,
$header
);
?>
MESSAGE D'ERREUR:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, tech@ovh.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
------------------------------------------------------------------------
Apache/1.3.29 Server at 60gp.ovh.net Port 80
D'avance merci.