Imgsrcpc.jpg.....he will search for a pc.jpg Image Based on the current condition. If you use an absolute path, this will enter a trap. If the current path is varwwwtest (this path has your picture. php) and in picture. in php, imgsrchomewchpc.jpg .... there must be an error. She will be on the varwwwtest Road
Img src?pc.jpg ...... he will search for a pc.jpg image by using the current path. If you use an absolute path, this will lead to a trap. If the current path is/var/www/test (this path has your picture. php) and in picture. in php, img src =/home/wch/pc.jpg .... there must be an error. She will be in the/var/www/test path
He will search for a pc.jpg image by using the previous example. If you use an absolute path, this will go into a trap.
If the current path is/var/www/test (this path has your picture. php)
In picture. php, it is:
Definitely an error occurs. She will search for/home/wch in the/var/www/test path
The path for searching pc.jpg is
/Var/www/test/home/wch. This path does not exist at all.
Put the image in the php Directory.