Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Include Question Reply To: PHP Include Question

#149143

just learning how to create php from scratch again. released done index php wrong.

This is new code working on for index.php

<?php

// for use in development mode 
error_reporting(E_ALL); 

define('BASE_PATH', dirname(realpath(__FILE__)) . '/');
define('CATALOG_PATH', BASE_PATH . '/catalog');
echo CATALOG_PATH;

?>