Ok, I need a php wordpress guru here… 🙂
Usually, I call the php function file_exist for files located in my wp theme from function.php …
So I usually use :
if (file_exists(TEMPLATEPATH.’blahblahblah’) )
But, now i need to call this fuction for a file elsewhere in my public_html
I tried ‘home/user/public_html/blahblahblah’ , but it doesn’t work…
Don’t you have any hint for me ?
- The topic ‘php if (file_exists…) outside of the temple path…’ is closed to new replies.