Including a file containing a class with require_once

Hi I am getting an error 404 when I launch a file with require_once to include a second file containing a class! Can anyone help me find a solution?

main file:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN””>
<html xmlns=“”>
<title>Experimenting with visability</title>
<meta http-equiv=“content-type”
content=“text/html; charset=iso-8859-1” />
// include the class file
require_once ‘Product.php’;
// require_once(dirname(FILE) . “Product.php”);

// create an instance of the Ch2_Product class

// display the $_type property


Product.php file:
class Ch2_Product
// properties defined here
protected $_type = ‘Book’;

// methods defined here
public function getProductType()
return $this->_type;
public function setProductType($type)
$this->_type = $type;

I know that there is no code to display the content of the class property in these files, I have minimized the content trying to get the files to run.
Thanks in anticipation for any help.

When require can’t find the file you want to include, it doesn’t generate a 404 error, it generates a “Failed to open stream” error, so perhaps the problem lies elsewhere.

Are you absolutely sure your files are present where you expect them to be?