I'm looking for a php script/system that can let users login/register, post links, vote on links. Are there any open source project doing that?
I'm looking for something similar like reddit.com or dzone.com.
Cheers.
I'm looking for a php script/system that can let users login/register, post links, vote on links. Are there any open source project doing that?
I'm looking for something similar like reddit.com or dzone.com.
Cheers.
As per Zerkms's request.
"Are there any open source project doing that?" - Yes
On a more serious note, here is a list of some of the (script) resources which have helped me in the past. You will find many good and free scripts that will get you up and going with your project.
and an mysqli
method: http://w3epic.com/php-mysql-login-system-a-super-simple-tutorial/
However in the link just above, where they have:
$username = $_POST['username'];
I would make it as:
$username = mysqli_real_escape_string($mysqli,$_POST['username']);
etc. (just to be on the safe side)
There are a few links that are a good read, in regards to security that I feel you should also be made aware of when putting something together as such:
Plus, do use the latest password technology and not storing them as plain text like many do today.
Always hash (and salt) passwords, not encrypt; remember that.