Please study the following code - image accessing problem.

Run block 2 line 2 only - no problem.
Run block 2 both lines - problem.
Run block 1 and HTML block together - problem.

I need a remedy from this. Please make some R&D withe these code, take your time (24 hours) and try to give me a solution.

<?php

echo "Hello World <br>";

?>

<?php

//echo "hello <br>";
//echo file_get_contents(getcwd()."/zodiac/Gemini.jpg")."<br>";

?>

<html>
<head>
<title>Test</title>
</head>
<body>
<form name="f" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
<img src="<?php echo file_get_contents(getcwd().'/zodiac/Cancer.jpg').'<br>'; ?>" width="100" height="50">
</form>
</body>
</html>