how can encrypt image path thats in the database
krabz01
0
Newbie Poster
Recommended Answers
Jump to PostHmmm, Try this.
<?php //filename: image.php $imagepath="phpimages/dog.jpg"; $image=imagecreatefromjpeg($imagepath); header('Content-Type: image/jpeg'); imagejpeg($image); ?> then use <img src="image.php" >
All 2 Replies
Reply to this topic
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.