par
thehawk » 03 mars 2007, 14:28
$autorisation_entrer = $_SERVER['HTTP_REFERRER'];
if($autorisation_entrer == 'https://www.paypal.com/fr/cgi-bin/webscr' || $autorisation_entrer == 'https://paypal.com/fr/cgi-bin/webscr' )
{
echo 'merci votre paiement à été effectuer';
}
else
{
echo "il y a eu un probleme lors de votre paiement contactez l'admin du site <br> $autorisation_entrer";
include("template/template1.php');
exit();
}
Tu as oublier un " ' " dans la ligne
include("template/template1.php');
[php]$autorisation_entrer = $_SERVER['HTTP_REFERRER'];
if($autorisation_entrer == 'https://www.paypal.com/fr/cgi-bin/webscr' || $autorisation_entrer == 'https://paypal.com/fr/cgi-bin/webscr' )
{
echo 'merci votre paiement à été effectuer';
}
else
{
echo "il y a eu un probleme lors de votre paiement contactez l'admin du site <br> $autorisation_entrer";
include("template/template1.php');
exit();
}
[/php]
Tu as oublier un " ' " dans la ligne[color=darkblue] include("template/template1.php');[/color]