To view the list of links, please access this site using Tor Browser.
If you’re seeing this message, access is restricted for regular browsers.
Already using Tor? If you are sure you’re currently in Tor Browser, proceed to our .onion version:
array_push()to push a string to and empty array for all my user generated error messages. Then to display them i use
if(in_array($msg, $err_array)) echo $msg
----------------------------------------------------------------------------------------------------- Views/ExampleView.php Something like this, yes i know this is not really a MVC style really you'd have to use a framework for this or create one and manage all routes etc but something along the lines of this. You could use laravel and do something like ------------------------------------------------------------------------------------------------------------------- USING LARAVEL routes/web.php Recourses/views/ExamplePage.blade.php App/middleware/CheckReqParamatersLoginPage.php Make sure to register the middleware app/Http/kernel.php You will see at the bottm a array routeMiddelware add array key / value in there App/Http/Controllers/Logincontroller.php
Sorry for errors / typo's if there are any i didn't check just wrote this real quick without testing.
If you need any more help reply down below :p thx
This keeps interacting with the database, the logic and the views (frontend). Separated it's annoying to use at first but it makes things more easy / faster to write and more oversee able.
Read the top two blocks of code everything below that uses the framework laravel