Posted by Stephen Leaf on 09/14/05 07:08
On Monday 12 September 2005 02:08 pm, Florent Monnier wrote:
> Hi,
>
> Is there a way to make dom xml applications compatible PHP4 and PHP5?
>
> Thanks
You can use the PHP_VERSION predefined constant or the function_exists(string)
http://us2.php.net/manual/en/function.function-exists.php
What I did was created a Document Object. right now it only works with PHP5
I might add PHP4 support to it later tho when I have more time using this
approach unless anyone can think of a better idea.
Navigation:
[Reply to this message]
|