[fair warning] I'm a php novice, so if this is a dumb question I apologize.[/fair warning]
Why would the php include code given for FD feeds work in php4 but not php5?
[fair warning] I'm a php novice, so if this is a dumb question I apologize.[/fair warning]
Why would the php include code given for FD feeds work in php4 but not php5?
I'm not familiar with PHP5 unfortunately, but it might be due to a change in the default settings or the security settings. PHP 5 is supposed to be more secure, so it could affect the the regular include method. In that case, it's worth trying the "CURL" code that's on the same page :)
Where can i see an example for an INCLUDE made possible with CURL ?
My current include looks something like this:
<?
include 'digestURL';
?>
On the "Get inclusion code" page for your digest in your control panel :) It's already all set up for you.
Hi,
on the scheme of the PHP include method, it doesn't seem to validate, i.e. W3 XHTML Strict. The URLs are causing failures. Is there some guard I ahould be using for the URLs?
Thanks.
If you're referring to URLs given in the posts that constitute your digest, you may have a problem. Most sources do tend to use URLs that have ampersands and similar in them, and those will not pass Strict levels of validation. This is somewhat a global issue though. In theory you could use <gsub from="&" to=";">%URL%</gsub> and that might resolve it, but it's not the easiest thing to fix.
This topic has been closed to new replies.