Hi I am trying to open an image file in abc.php using function readfile() while trying to access the same image from another file say xyz.php using following tag:

<image src="abc.php" />

But i don't know where it went wrong? Please help me out regarding this.

Recommended Answers

All 3 Replies

That is not proper image code.
<img src="image.gif" />
and what is abc.php. what is the code on that page?
your question does not make sense. where is your readfile() code?

Okey can you please tell me the code to hide images using mapping technique in php?

what are you trying to do?
what are you trying to hide? The full image paths?
what is the goal of your script and where is your code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.