Bonjour à tous,
Voici un extrait de code php de mon site qui fonctionne bien sous IE.
Par contre cela ne fonctionne pas avec firefox mais je ne comprends pas pk.
Merci à vous pour vos pistes.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 <?php $nom_ftp=isset($_POST['nom_ftp'])?$_POST['nom_ftp']:""; $code_ftp=isset($_POST['code_ftp'])?$_POST['code_ftp']:""; ?> <html> <head> <title>msr.ath.cx - Site Perso - </title> </head> <body> <?php if ($nom_ftp=="aa" && $code_ftp=="bb") { ?> <meta http-equiv="refresh" content="0;URL=ftp://aa:bb@msr.ath.cx/FTP/ftppublic/"> <?php } else { ?> <meta http-equiv="refresh" content="0;URL=index.php?ftp=mauvais"> <?php } ?> </body> </html>
Partager