• Resolved SimonJ

    (@simonj)


    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 ?

    Thanks!

    S.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘php if (file_exists…) outside of the temple path…’ is closed to new replies.