Re: Using include properlly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <000601c8037c$534359d0$f9ca0d70$@com>, David Weeks
<teacherweeks@xxxxxxxxx> writes
>It seems like the include isn't being used. because my testing server is
>configured like a production server, the error messages are being
>suppressed.

You can un-suppress them, perhaps with
error_reporting(E_ALL);
ini_set('display_errors', '1');

My (working!) includes are in the format
include 'inc/start.php';
or, more usually, I set the path to include the inc folder, and just use
include 'start.php';


-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux