I'm doing a simple captcha but when I insert a font in the image it appears
Warning: imagettftext (): Could not find / open font in C: \ xampp \ htdocs \ captcha \ cap.php on line 14
Code line where I try to put a source:
imagettftext($img,20,0,20,30,1,'arial.ttf',$str);
I have the source 'arial.ttf'
in the same folder as the cap.php