Skip to content
Advertisement

Tag: image-processing

PHP Upload Multiple Images through Loop

I am trying to upload multiple images in a loop but for some reason it will create the directory, upload 1 file and create the MySQL record so I’m not sure why it only uploads 1 file even though when i’ve printed $i to see how many files have been counted it always counts the correct amount. PHP HTML I’ve

Return a PHP page as an image

I am trying to read a image file (.jpeg to be exact), and ‘echo’ it back to the page output, but have is display an image… my index.php has an image link like this: and my php script does basically this: 1) read 1234.jpeg 2) echo file contents… 3) I have a feeling I need to return the output back

Advertisement