Hi all,

I m new to php and I have a simple problem. I want to check whether a file exists or not using php. I used the file_exists function for that but it doesn't work while I m able to open the same file using fopen..I know its a strange problem but I hope I get some inputs on this :o

Recommended Answers

All 2 Replies

Member Avatar for TKSS

What version of php are you using?

Hi TKS,

Thanks for responding.....But don't bother as the issue has been resolved now...It was a silly mistake on my part...:o..I got the file path wrong.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.