Hello Prolog,
Hm... And what about:
print '<img src="/images/$filename">';
instead of readfile?
P> if(file_exists(/images/$filename))
P> {
P> readfile(/images/$filename);
P> }
P> else
P> {
P> readfile(images/npat.jpg);
P> }
------------------------------------------------
Ivan 'Faeton aka xetrix' Danishevsky
ICQ(240266) [EMAIL PROTECTED] www.xemichat.com
::: ����� ������ ��������� ������, ��� ����� ������ ������������. :::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]