Jump to content
Larry Ullman's Book Forums

avante

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About avante

  • Rank
    Newbie
  1. My problem was in chapter 2 project which is: in main.in.php //Redirect if this page was successed directly: // if (!defined("BASE_URL")) { // // Need the BASE_URL, defined in the config file: // require('./includes/config.inc.php'); // // Redirect to the index page: // $url = BASE_URL . 'index.php'; // header ("Location: $url"); // exit; // } // End of defined() IF I had to comment these lines off cause the error was this: Fatal error: Cannot redeclare my_error_handler() (previously declared So i fixed it thanks a lot its amazing book im learning.
  2. Hi, I have bought the php advanced book and i think Im lost between lots of errors, the problem Im working on php 7.1.1 and the book code supports php 5. any updated code ? thanks
×
×
  • Create New...