hmm. i use this on many other hosts and it works just fine, but for some reason (12 hours later and still no reply from dreamhost) it doesn’t work on dreamhost. details below, could really use someone’s input who’s familiar with dreamhost, as i’m new there.
www.njdha.org uses php templates to call posts and categories of posts generated by a wordpress install located in njdha.org/blog/. i call the posts/cats using the code below:
ini_set (user_agent, "blah");ini_set (default_socket_timeout, "5");
this doesn’t work. the equivalent in c-u-r-l doesn’t work and is not allowed on the server. fOPEN the same. and trying to include it using a simple php include doesn’t work either (as it shouldn’t, for security reasons).
i can browse any category or post in the WP install as in http://www.njdha.org/blog/category/join-njdha/ so i know the blog is up and working fine, as i can admin it as well.
this appears to be a security issue on dreamhost’s end, and i need to resolve this right away, or pull the site and move it to another host. you can see an example of this working on another host at http://njdha.junkdesign.co.uk.
i chose dreamhost based on the strength of an email i got back from them BEFORE i had the client open the account saying my method for calling posts would work on their servers. it doesn’t.
any ideas?? they aren’t replying, and i’ve been ever so polite