chinagreenelvis
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by chinagreenelvis
-
-
I have the following url
http://www.chinagreenelvis.com/test/index.php?img=man.gif
As you can see, on the internet, it displays correctly. But when I have the same url
http://localhost/test/index.php?img=man.gif
the image does not display for me. All I get is an image placeholder. Does anyone have any idea why this happens?
Image function not working on localhost?
in PHP Installation and Configuration
Posted
src="/test/<?php echo $img; ?>"
When I view the page source online I get the proper result:
src="/test/man.gif"
But when I view the page source from my localhost folder, I see
src="/test/"