What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Wordpress/PHP help

Wordpress/PHP help
Author: Message:
lordy
Senior Member
****


Posts: 853
Reputation: 24
34 / Male / Flag
Joined: Jul 2004
Status: Away
O.P. Wordpress/PHP help
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
11-26-2005 08:28 AM
Profile E-Mail PM Find Quote Report
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
32 / Male / Flag
Joined: Jun 2004
RE: Wordpress/PHP help
i dont  know if this helps, but dont include the whole url, just like
include('wordpress/wp-blog-header.php');
11-26-2005 09:35 AM
Profile E-Mail PM Find Quote Report
lordy
Senior Member
****


Posts: 853
Reputation: 24
34 / Male / Flag
Joined: Jul 2004
Status: Away
O.P. RE: Wordpress/PHP help
yeh i know :P thanx neways
11-26-2005 09:42 AM
Profile E-Mail PM Find Quote Report
ddunk
Veteran Member
*****

Avatar

Posts: 1228
Reputation: 51
35 / Male / Flag
Joined: Mar 2004
RE: Wordpress/PHP help
Can you give us the path to the file and tell us wha tyou were putting into the quotes?
11-26-2005 09:45 AM
Profile E-Mail PM Web Find Quote Report
lordy
Senior Member
****


Posts: 853
Reputation: 24
34 / Male / Flag
Joined: Jul 2004
Status: Away
O.P. RE: Wordpress/PHP help
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

This post was edited on 11-26-2005 at 09:48 AM by lordy.
11-26-2005 09:47 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On