Check you file permissions inside the directory
/home/username_website_a/public_html/block/
block should be 755 or 777. 777 gives the outside would access to any file that is in there.
What I did in the past with a similar issue was to use an external readfile statement.
<? readfile("http://path A/index.php"); >
Edit the code on site B Insert the above statement in place of your statement that would normal display your output in side B. Any changes made on site A will automatically show up on site B.
Give it a shot.
|