Can I upload an image without an image name?
3 answers
Yes this!
Suppose you can use php on your server http://www.example.com/
If you add index.phpwith this code:
<?php
$file = '../image.jpg';
$type = 'image/jpeg';
header('Content-Type:'.$type);
header('Content-Length: ' . filesize($file));
readfile($file);
?>
http://www.example.com/ going to return an image (with the correct MIME), which can be read as follows: <img src="http://www.example.com" />
0