I'm php elementary.
I'm doing version up a php system from very old ver to 5.6. Moreover, Unfortunately any documents are not about the old system...
I have a problem can't understand.
controller.php
<?php
require_once("./commonLogUtils.php");
require_once("./authModel.php");
require_once("./searchModel.php");
session_start();
if (strlen($_REQUEST['action']) <= 0)
{
$_REQUEST['display'] = "system";
include("./loginView.php");
return;
}
I think the controller.php is start page of the system.
If i try access the page in my local with this address "http://localhost/cadsearch/controller.php"
It show a notice to me that "Notice: Undefined index: action"
The released old system don't show that notice even if using same source.
So, i can't under stand that the action was set from where.
Can you teach me if you know this?
Thank you.