xbl12
Programmer
- Dec 12, 2006
- 66
Hi;
i am trying to display a image, but why i could not do that, is it the problem that i use the mod_rewrite
rule?
The following is my work
.htaccess
RewriteEngine On
RewriteRule ^([a-z]+)/([0-9]+)/$ /dispaly.php?page=$1 [L]
index.php
<html>
<body>
Welcome to my page. <br>
<a href="image/1"> go to another page </a>
</body>
</html>
display.php
<html>
<body>
<img src="boat.gif" alt="Big Boat">
</body>
</html>
i am trying to display a image, but why i could not do that, is it the problem that i use the mod_rewrite
rule?
The following is my work
.htaccess
RewriteEngine On
RewriteRule ^([a-z]+)/([0-9]+)/$ /dispaly.php?page=$1 [L]
index.php
<html>
<body>
Welcome to my page. <br>
<a href="image/1"> go to another page </a>
</body>
</html>
display.php
<html>
<body>
<img src="boat.gif" alt="Big Boat">
</body>
</html>