Re: XMLDiff is not working in browser but working in command line
Ganesh Babu N <[email protected]> Mon, 23 Nov 2015 16:25:53 +0530
| Newsgroups | gmane.comp.php.windows |
|---|---|
| Message-ID | <CAOtiR59oMpfyuPzd-_4BAz8NdLEA-7rLy0zkG7z20WZh3LKiLg@mail.gmail.com> |
Hi , i have tried working with XMLDiff\File with the following code: <?php $file1=1.xml; $file2=2.xml; $dxml=new XMLDiff\File; $diff = $dxml->diff($file1, $file2); echo $diff; ?> The code is working fine in command line PHP. and not working when I called the script via web browser. Is anything i am doing wrong here? Regards, Ganesh