BlackReef Posted April 19, 2012 Share Posted April 19, 2012 Thank you in advance for your help. I do not have alot of experience in PHP. I offered to help a friend put a simple submit form in the footer of their website. So, I login to the FTP and download the index.php file (assuming this is the home page) and open it in dreamweaver. Instead of seeing the page in the design view, it is blank. So my question is, which files contain the actual home page? Im assuming its a header/footer, or something of the sort? Here is the code itself in the index.php: <?php /* ini_set('display_errors',1); error_reporting(E_ALL|E_STRICT); */ // Define path to application directory defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application')); // Define application environment defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'active')); // Define path to application directory defined('ROOT_PATH') || define('ROOT_PATH', realpath(dirname(__FILE__))); defined('BASE_URL') || define('BASE_URL', 'http://' . $_SERVER['SERVER_NAME']); defined('HOST_URL') || define('HOST_URL', $_SERVER['SERVER_NAME']); // Ensure library/ is on include_path set_include_path(implode(PATH_SEPARATOR, array( realpath(ROOT_PATH . '/library'), get_include_path(), ))); require_once 'Zend/Application.php'; require_once 'My/Application.php'; $application = new My_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini' ); $application->bootstrap()->run(); Thanks in advance, -J Quote Link to comment https://forums.phpfreaks.com/topic/261269-new-here-requesting-assistance-please-basic-php-questions/ Share on other sites More sharing options...
BlackReef Posted April 19, 2012 Author Share Posted April 19, 2012 Ok nevermind, I found the header footer files (they are phtml) What trips me out is the header.phtml does NOT call any .css files? I wonder where the .css calls are located (in which file)? Quote Link to comment https://forums.phpfreaks.com/topic/261269-new-here-requesting-assistance-please-basic-php-questions/#findComment-1338875 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.