I am hosted on dreamhost, and recently they stopped supporting the include function. Dreamhost gave me an alternative, but I don't know how to use it, here is the email they sent me regarding the problem:
------------------------------------
yes we apologize this has been disabled on all of our hosting servers. a
customer has written a work around for this problem, it can be found
here..
http://wiki.dreamhost.com/index.php/CURL
-------------------------------------
I'm not sure how to use this alternative, and how to change my current script. I believe this part of the script might be what needs changing:
<? require('./wp-blog-header.php'); $mode = $_GET['z']; ?>
Does anyone have any ideas ;)
Right now, when I use the Z function, this is what I get:
code
Warning: main(): URL file-access is disabled in the server configuration in /home/.calzt/slickmx0/domain.net/index.php on line 518
Warning: main(http://domain.net/page.php): failed to open stream: no suitable wrapper could be found in /home/.calzt/slickmx0/domain.net/index.php on line 518
Warning: main(): Failed opening 'http://domain.net/page.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/.calzt/slickmx0/domain.net/index.php on line 518code
Thankyou very much.