failed to open stream [closed]

-3

I separated the PHP code from the file register.php into includes/handlers directories with two files register-handler.php and login-handler.php , so I did

<?php
    include("handlers/register-handler.php");
    include("handlers/login-handler.php");
?>

Messages appeared:

  

Warning: include (includes / handlers / register-handler.php): failed to   open stream: No such file or directory in   C: \ wamp64 \ www \ Slotify \ register.php on line 2

     

Warning: include (): Failed opening   'includes / handlers / register-handler.php' for inclusion   (include_path = '.; C: \ php \ pear') in C: \ wamp64 \ www \ Slotify \ register.php   on line 2

E

  Warning: include (includes / handlers / login-handler.php): failed to open   stream: No such file or directory in   C: \ wamp64 \ www \ Slotify \ register.php on line 3

     

Warning: include (): Failed opening   'includes / handlers / login-handler.php' for inclusion   (include_path = '.; C: \ php \ pear') in C: \ wamp64 \ www \ Slotify \ register.php   on line 3

Version:

php 5.6.25
apache 2.4.23
WAMPSERVER 3.0.6 x64
Windows 7 x64

    
asked by anonymous 19.12.2017 / 07:02

1 answer

3

The problem is that you are including the handlers / register-handler.php file, but the folder is handles , without the r < strong>.

    
19.12.2017 / 08:18