Voici le code de ma page
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
26 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Document sans nom</title> <style type="text/css"> <!-- body { background-color: #000; } --> </style></head> <body> <img src="BARREMENU.jpg" width="<?php echo"width"; ?>" border="0" align="absmiddle" usemap="#Map" /> <map name="Map" id="Map"> <area shape="rect" coords="0,0,153,34" href="acceuil.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$aa"; ?>,2,<?php echo"$bb"; ?>,34" href="asseoir.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$bb"; ?>,-3,<?php echo"$cc"; ?>,36" href="carte.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$cc"; ?>,-4,<?php echo"$dd"; ?>,34" href="venir.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$dd"; ?>,2,<?php echo"$width" ?>,33" href="chicha.html" target="mainFrame" /> </map> </body> </html>
or non seulement cela ne fonctionne pas , mais de plus , quand je visite la page sous firefox, le php n'est pas interpreté côté serveur , et apparait quand je demande le code source de la page :
Quelqu'un peut m'aider?
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
26
27 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Document sans nom</title> <style type="text/css"> <!-- body { background-color: #000; } --> </style></head> <body> <img src="BARREMENU.jpg" width="<?php echo"$a"; ?>" border="0" align="absmiddle" usemap="#Map" /> <map name="Map" id="Map"> <area shape="rect" coords="0,0,153,34" href="acceuil.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$aa"; ?>,2,<?php echo "$bb"; ?>,34" href="asseoir.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$bb"; ?>,-3,<?php echo "$cc"; ?>,36" href="carte.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$dd"; ?>,-4,<?php echo "1000"; ?>,34" href="venir.html" target="mainFrame" /> <area shape="rect" coords="<?php echo "$dd"; ?>,2,<?php echo "$width" ?>,33" href="chicha.html" target="mainFrame" /> </map> </body> </html>
Partager