This question already has an answer here:
- PHP random string generator 53 answers
I am trying to generate a image and i am successfull using this code.
imagepng($image, 'generated.png');
but I want the name of image generated.png name to be some random string. So I tried like this
$name = random;
imagepng($image, $name.'.png');
but it does not work..
</div>