class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
You can retrieve the name (as well as the dimensions) of the uploaded image in $foo->file_dst_name. Then, just generate an IMG tag, using this filename.Reply
I have made a homepage where others are suposed to upload pictures. These pictures should automatically show up on certain areas.
I have no idea how to include images with unknown filenames into these areas.
All help greatly appreciated.
I know how to use include and require variables in php, affecting html from other sources..
Kind regards
Samuel
You can retrieve the name (as well as the dimensions) of the uploaded image in $foo->file_dst_name. Then, just generate an IMG tag, using this filename.