Its easy to create a bcrypt hash on commandline with this command: $> htpasswd -nbBC 10 USER PASSWORD Just replace the Placeholder USER and PASSWORD with the corresponding values. The Result should be something like that: USER:$2y$10$gfPbhclOrdjmMLEXSc5CTOWP5aBfjl59hhGvjp/qWXf1FfbQKb5ca The part before “:” is the username. The rest is the bcrypt password hash. The -C parameter specifies […]
This article show to use PHP’s interactive mode to execute PHP code directly on the commandline shell without the need of a script file. This can be useful to test PHP snippets, run short commands or even test a certain PHP configuration.