Affichage d'image MySQL / PHP
Bonsoir,
cela fait plus d'une vingtaine de jour que je galère sur ce problème afin d'afficher mes photos/image à partir d'une base de donne mysql en local
ma configuration, windows xp pro sp2, le site est en local; j'utilise easyphp
voici le code source de ma page :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<title>ZIMAGE COMM ZOT I AIME</TITLE>
<head>
<title>Bienvenue sur mon site !</title>
<meta http-equiv="Content-Type" header('content-Type:image/jpeg'); charset=iso-8859-1");
/>
<link rel="stylesheet" media="screen" type="text/css" title="ZIMAGE COMM ZOT I AIME" href="pages/designe.css" />
</head>
<body bgcolor='#B2B3B4'>
<form action="inc_image.php" enctype="multipart/form-data" method="post"><select name='frm_select_rubrique'><option value="2" selected="selected">mature</option><option value="3">essaie</option><option value="1">divers</option></select>
<input type='submit' value='Go'/>
</form>sert a faire des essaies<br></br><img src="../photos/3/DSC01723.JPG" alt="DSC01723.JPG" width="150" height="150" border="0"./>
</body>
</html> |
les images/photos sont stocker en local un dossier correspond a une rubrique.
J'ai parlé de ce problème autour de moi, j'ai toujours la même réponse mais pas la solution " a priori l'adresse ne point pas la cible correctement" si c'est le cas que faut-il faire ? Bien entendu je suis pour l'instant en local
Merci de toute l'aide que vous pouvez m'apporter
Runcafre91