Re[2]: [PHP] file_exists problems

2001-12-01 Thread faeton
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

Re: [PHP] file_exists problems

2001-12-01 Thread Prolog
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

Re: [PHP] file_exists problems

2001-11-30 Thread faeton
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

[PHP] file_exists problems

2001-11-30 Thread Prolog
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