Ok. So because you're in the subfolder of app your first line needs to be
<?php require_once '../users/init.php'; ?>
Basically, since you are in app, you need to back up one folder ../ to get to root and then go forward to users/init.php
Well, I moved my page register.php to 'users/' and the first line like this < ?php require_once 'init.php'; ?>
I logged like admin and see ind "admin_pages" and my page appear there, ok. But when I call my page, logged or unlogged, the same HTTP ERROR 500 appear again.
I'm using IIS 6 with Visual Studio 2015 Community with PHP Tools plug-in installed.
Maybe I will try it with xampp. What do you think?
I don't know what to do. Sorry.
I would absolutely try xampp first. Can you paste your register.php file on pastebin or hastebin and share the link here and I'll take a look.
Hi mudmin, I'm really happy because under xampp it's works. Some errors appears like: Parse error: syntax error, unexpected 'as' (T_AS), expecting ',' or ')' in C:\xamppadm\htdocs\appreq\users\register.php on line 36
But it's ok, for now I will analyse this and go ahead.
Under IIS , never more.
Thank you