What about if the filenames of the images are unknown to me and I am unaware of the number of images in the folder?
I'm trying to create a script that prints all the images located inside a folder (beside webroot). Please help. I've been stuck on this for weeks....
User Profile
Collapse
-
I want to display all images on the web browser. I stored the filenames inside a mysql database. I am only able to display one image. Please help? Is there anything done wrongly?
...Code:// Get our database connector require("includes/con.php"); $sql = "select * from people"; $result = mysql_query($sql) or die ("Could not access DB: " . mysql_error());Leave a comment:
-
Thanks a million. I'm now able to upload and display an image. Thanks once again.Leave a comment:
-
Retrieve images located outside web root using php
Hi,
I am developing a web application and I am stuck on the file upload section of my development. Can someone please put me through.
I have the code that can upload images to a folder that is located outside the webroot as a security measure. I don't know how to display these images on a web browser. Please someone put me through.
No activity results to display
Show More
Leave a comment: