failed to open stream

Asked

Viewed 877 times

-2

I separated the PHP code from the file register.php in directories includes/handlers 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

And

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

Estrutura

  • 2

    My God, what a shame!!!

1 answer

2

The problem is that you are including the file "handlers/Register-Handler.php", but the folder is Handles, without the r.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.