I have projectA which has a.php and I have projectB which has b.php How do i access a.php from b.php.All this projects lie in the same root as HOME Please help
    <?php
    class B {
        function getB() {
            return "B";
        }
    }   
<?php
    include '/projectB/B.php';
     class AA {
        function getA() {
            $objB=new B();
            echo $objB->getB();
        }
    }
    $obj=new AA();
    $obj->getA();
    ?>
Error thrown is Class 'B' not found in C:\wamp\www\projectA\AA.php
 
     
     
     
    