view.php in YaPiG 0.92b, 0.93u and 0.94u allows remote attackers to obtain sensitive information via a phid parameter that is not an integer, which reveals the path in an error message.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2005-1887
http://secwatch.org/advisories/secwatch/20050530_yapig.txt