i got a code from the server n suppose to modify it in my localhost
but for example:
in a.php
theres
<?php
include_once($_SERVER["DOCUMENT_ROOT"] ."/webinfo/b.class.php");
include_once(Envi::p_security);
?>
and in b.class.php theres
class Envi
{const p_security = "/opt/webinfo/apache2/htdocs/webinfo/class/security/security.class.php";
}
but bcoz i installed xampp and working in localhost
http:\\localhost is
C:\xampp\htdocs
and not
"/opt/webinfo/apache2/htdocs/webinfo
as in b.php
so the error it prompt me is:
Warning: include_once(/opt/webinfo/apache2/htdocs/webinfo/class/security/security.class.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\webinfo\index.php on line 4
/opt/webinfo/apache2/htdocs/webinfo/class/security/security.class.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\webinfo\index.php on line 4