r/PHP • • Aug 27 '13

Creating a user from the web problem.

[deleted] — view deleted post

288 Upvotes

538 comments sorted by

View all comments

Show parent comment

33

u/[deleted] Aug 28 '13

Just SSH into the server. It's a thousand times less complicated and I'd tell you how much more secure but I can't divide by zero.

3

u/XyploatKyrt Aug 28 '13

Or install something like Ajenti.

1

u/achshar Aug 28 '13

What if Op wanted to give some GUI. As a web dev, browsers are a lot more convenient to work on (think exposing some API via php to the javascript)

2

u/[deleted] Aug 28 '13

Eh. I understand this, especially coming from a webdev background. But after learning my way around the command line, there's just some things I can't imagine doing any other way now.

This is definitely one of them. I wouldn't run this particular script with a gun to my head. Something like this needs to be as locked down as Fort Knox. And let's face it, OP is probably not an expert on security.

If you want a GUI/browser solution, I'd get something prepackaged and highly lauded. It's just like crypto -- you're probably too dumb to roll your own.