I need to include a file outside of the wordpress directory i have looked at the support document but can't seem to get it working, is there a way i can do this without moving the file i want included.
I need to include a file outside of the wordpress directory i have looked at the support document but can't seem to get it working, is there a way i can do this without moving the file i want included.
you need the following line on top of your .php file:
<?php require_once("./wp-blog-header.php"); ?>
If it is sitting outside the wordpress installation directory just change the url to reflect that.
This topic has been closed to new replies.