Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $filename_with_path = TEMPLATEPATH . '/yourimagedir/' . $filename;
- if (file_exists($filename_with_path)) {
- echo "The file exists";
- } else {
- echo "The file does not exist";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement