1
I wrote a php script that does a little "scraping" from another site and outputs some HTML, and I'm trying to use it in a custom block in XOOPS 2.0.5.
It doesn't seem to work.
I know the "fopen" works because some of the data is returned, but lots of other things go wrong, like my preg_match calls failing where they shouldn't, etc.
I ran the script in PHP command line mode on the hosting co's system and it works just fine.
Can anyone provide any hints on using PHP in custom blocks in general?
I'm wondering if XOOPS is changing some defaults that my script is depending on, and what they might be.