Quote Originally Posted by mc12345678 View Post
Because try3.php is already in testsite01, any reference to that directory in try3.php should be removed. So if it is considered necessary to load application_top.php from that file, which is questionable, then the require should be:
Code:
require('includes/application_top.php');
Thanks your reminded! I'm afraid the problem setting of xampp will influence the result, I edited the define_page_1 with your corrected code in my website directly. There is no any other file with that code.

case1 -- No require('includes/application_top.php');
When I input the correct waybill number, it will jump to die message "Cannot access database!". All right side sideboxes and footer disappear.
When I input wrong number, it will show "Waybill number XXX not found!"! Sidebox and footer are not affedted.

case2 -- require('includes/application_top.php');
All right side sideboxes and footer disappear. And no input text box for me to input anything.

I think you are correct. It may not need to require the application_top. But really don't know why it still not work!