[Resolved] need alternative to C-U-R-L for including posts
hi – i use the following code on http://www.naturopathy-uk.com/events/events-opendays-uk/
to include categories/posts from WordPress (WP installed on same server in naturopathy-uk.com/blog – used for 7 sites hosted on same server(commented out herefor safety reasons):
//$ch = curl_init();
//curl_setopt($ch, CURLOPT_URL, “http://www.naturopathy-//uk.com/blog/?cat=22”);
//curl_setopt($ch, CURLOPT_HEADER, 0);
My host said fine, now they say it’s a security issue and want me to remove it. I think it’s a PHP issue fixed here on http://www.php.net/
PHP 4.4.4 and PHP 5.1.5 Released
[17-Aug-2006] The PHP development team would like to announce the immediate availability of PHP 5.1.5 and 4.4.4. These two releases address a series of security problems that were discovered since the release of PHP 5.1.4 and 4.4.3. The new releases include the following changes:
Fixed possible open_basedir/safe_mode bypass in cURL
extension and on PHP 5.1.5 with realpath cache.
I’m stuck. Can’t use fOPEN. Any ideas for alternatives?
- The topic ‘[Resolved] need alternative to C-U-R-L for including posts’ is closed to new replies.