PHP Url rewriting

Bonjour, voilà je vais essayé d'être clair.

J'ai une image de fond, et dessus j'affiche deux bonhomme en Flash.

<div class="ban">

<div class="pol">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="150" height="320">
<param name="movie" value="http://www.stereopoly.com/flash/perso_affich.swf?id=719212&url=www.stereopoly.com">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="http://www.stereopoly.com/flash/perso_affich.swf?id=719212&url=www.stereopoly.com" quality="high" wmode="transparent" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" width="150" height="320"></embed></object>						
</div>

<div class="polette">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="150" height="320">
<param name="movie" value="http://www.stereopoly.com/flash/perso_affich.swf?id=722000&url=www.stereopoly.com">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="http://www.stereopoly.com/flash/perso_affich.swf?id=722000&url=www.stereopoly.com" quality="high" wmode="transparent" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" width="150" height="320"></embed></object>						
</div>

</div>


.ban
{
background-image: url('http://nsa11.casimages.com/img/2010/01/27/100127042827262759.jpg');
background-repeat: no-repeat;
height: 500px;
width: 800px;
}

.pol
{
position: absolute;
left: 20px;
top: 70px;
z-index: 5;
}

.polette
{
position: absolute;
left: 123px;
top: 115px;
z-index: 2;
}


Voilà, quand j'affiche ça, ma page est image.php et je voudrais que ça soit image.png

Mais sur internet je ne trouve rien qui m'explique ça clairement.
Donc voilà, si vous avez des solutions merci de partagé votre savoir :p
Configuration: Windows XP
Firefox 3.0.17

1 réponse

  1. Pour rewriter tes url :

    Dans le .htaccess

    RewriteEngine on
    RewriteRule ^image\.php$ /image.png[L]