Hello Prolog,
If course it doesn't use relative positioning.
You should do it like that file_exists("images/...") instead of
("/images/..."). That's all :)
P> I've since tried that also. It too seems to return the same error. I'm
P> curious if the file_exists can't use relative positions
I've since tried that also. It too seems to return the same error. I'm
curious if the file_exists can't use relative positionslike it has to be
in the same folder or you have to use the whole line like c:\ I'm
working on a box that isn't mine of the net...if that's the case I don't
know
Hello Prolog,
Hm... And what about:
print '';
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
I had a script that was running beautiful that simply called up a database
and displayed the results in tables. I went to add images to this script
and all hell broke loose. This is the portion of the script that I added:
--
//filename is the item number + t.jpg -- t shorthand for thu
4 matches
Mail list logo