+ 3
Does i have to remember Full Name of an Image to get uploaded ?
does it automatically find the path of the image ?
4 ответов
+ 8
It won't be found automatically, but if you place the image in the same directory it will be found effectively. If it's not in the same folder then you'll have to add the path.
+ 6
Specify directory,
<?php echo dirname(__FILE__) . 'path/to/img/img.jpg'; ?>
If you getting errors then try above(replace path/to/img/img.jpg)
+ 4
Why not rename it?
+ 1
if i rename it to simple one then will it find the path directly or i have to guide !