Where do I have to store the SAFE.php (where the class is stored) file?
This totally depends on you! You have to make sure, that the include path (require_once ‘path/to/the/file/SAFE.php’) is correct. We recommend to have only ONE class-file stored on your server in order to make updates easier. This means that you may have to modify the include path if your php-site is not in the same directory as the class file. If you want to be super fancy you can also set an include path by having this line in every file:
If you now put the login.php file into /main/root/login.php you only have to include ‘login.php’ wherever the current file is stored; fancy, isn’ t?!