Shoutbox

Wordpress/PHP help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Wordpress/PHP help (/showthread.php?tid=53319)

Wordpress/PHP help by lordy on 11-26-2005 at 08:28 AM

On the wordpress support forums I was told that to be able to use wordpress plugins outside of wordpress you had to include the wp-blog-header.php file ie:

code:
<?php include("path/to/wp-blog-header.php"); ?>
problem is when i do that, it causes the page that im including it on to load up blank, no content, nothing, but when i take it out again the page works fine. I've made sure the path im pointing to is the right one.

does anyone know whats going on here? :S
RE: Wordpress/PHP help by Jhrono on 11-26-2005 at 09:35 AM

i dont  know if this helps, but dont include the whole url, just like
include('wordpress/wp-blog-header.php');


RE: Wordpress/PHP help by lordy on 11-26-2005 at 09:42 AM

yeh i know :P thanx neways


RE: Wordpress/PHP help by ddunk on 11-26-2005 at 09:45 AM

Can you give us the path to the file and tell us wha tyou were putting into the quotes?


RE: Wordpress/PHP help by lordy on 11-26-2005 at 09:47 AM

code:
include("./blog/wp-blog-header.php");
also tried
code:
<?php
set_include_path('./blog');
include("./blog/wp-blog-header.php");
set_include_path('./');
?>
under -dt-'s instructions with no luck