Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
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.
http://www.hotscripts.com/
http://www.resourceindex.com/
http://php.resourceindex.com/
http://www.tizag.com/
http://phpro.org/tutorials/Object-Oriented-Programming-with-PHP.html
http://code.tutsplus.com/categories/php
http://www.91weblessons.com/mysql-prepared-statements-with-php/
http://php.net
http://mysql.com
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:
How to prevent SQL injection
On Owasp.org
Plus, do use the latest password technology and not storing them as plain text like many do today.
http://en.wikipedia.org/wiki/Bcrypt (bcrypt)
http://www.php.net/manual/en/faq.passwords.php (PHP's password hashing)
Always hash (and salt) passwords, not encrypt; remember that.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Well, I recently have been trying to come with code to create matrix in which word hunting can be done. I want the user to initialise rows, columns and of course give the words, it is too difficult to create such code/algorithm as the words can be placed vertically, horizontally or diagonally. I also tried google for such algorithms but without any luck. So, if anyone has an algorthm in mind or has written such PHP code, itll be really great if I can see that.
Thanks in Advance,
Nalin Bhardwaj
I am so sorry , I posted this question here, as suggested by one of the users, I googled a few different things online an dhave found a ruby file which has been built for the same purpose. And , if anybody would like to access it, they may check it out online at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/298382 . And, now I have decided to use this algorithm itself to create such a PHP file. Thank you everybody, for suggestions
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I found heaps of tutorials on Google, but none of them actually cover howto "create" the form, they all revolve around modifying an existing form(and overwrite it), rather than creating a new one by duplicating it.
Anyone know of a good tutorial that will show me how to do that?
Ideally I need to get file attachments in there too, but that'll come later :P
This tutorial might help you http://activecodeline.net/magento-custom-email-contact-form-with-notification-system
First of all, while you can make a contact form itself in HTML, and add basic interaction with Javascript, you'll have to use PHP with the send email function to send the email to yourself. PHP will also be used to upload files.
I don't think there's any one perfect tutorial, as you'd generally want to read a tutorial to get the gist of how its done, then do it your way, but you could try one of the ones here: http://www.html-form-guide.com/category/email-form
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for an secure php usermanagement system. It should be just the logics, so no markup or too much content (like messages etc.). I know I could just build it myself, but I doubt if it will be the most effecient usermanangement system.
The system should be at least
able to verify if the user is human
very secure (security against hacks, but also protect the users from their stupidity)
effecient (number of users will start at 1k and from then grow exponentially to around 100k)
capable of handling roles and capabilities
You guys got any recommandations?
You can use any of the following scripts:
http://sourceforge.net/projects/phploginsystemw/ (Login with 5 levels of security)
http://usercake.com/
http://www.downscripts.com/user-management-script_php-script.html
http://userpie.com/
http://gscripts.net/free-php-scripts/Login_Management/PHP_Login_Script/details.html
http://www.webresourcesdepot.com/free-php-user-management-script-log-me-in/
You should probably take a look at this:
http://www.hotscripts.com/category/scripts/php/scripts-programs/user-management/
I have use this before:
http://sourceforge.net/projects/phploginsystemw/
worked for me.
Take a look at drupal. It is a framework with modules for this stuff. You will be able to get away with very minimal coding.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am wondering if there is some tool available, that will take as input a SQL command, and as output will return valid Drupal code that can be used in the Drupal Api?
EDIT
The idea is I have large, 25 lines of SQL commands ready to be used on the database. And they are somehow complicated, so I am wondering how could I rewrite them with a tool to use the object members on the db_query to do the same stuff as my large SQL command line.
i assume there's no such tools.
Just read:
sql coding conventions
http://drupal.org/writing-secure-code
This might save some time, depending on what you are trying to do with SQL.
http://drupal.org/project/views
Plain 'ol non-Drupal SQL will still work in db_query ... it's just not a best practice since the database API can't retool the SQL to work in any supported environment, and doesn't take advantage of Drupal's SQL injection protections, among other things.
But it still works.
If you're going to use the SQL in a known environment (e.g. a system where these commands are already in use), I'd say just use them as they are for now and gradually convert them over to Drupal standards as new code is developed.
(Of course, if this code is meant to be distributed to other environments, you'll want to put in sweat equity and convert the strings, or write a tool to do so)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for some software that will allow me to do the following:
alt text http://patrickg.net/lookingfor.png
I don't need anything fancy, just basic information, back and forth dated comments, etc. No payment integration, or file handling.
Thought I'd ask before I write my own
Good luck with that - but from what I've seen, most of the stuff out there have x100 more features, and an appropriate learning curve. I don't know if you can find something with the exact features you've asked.
What's the problem with rolling your own, though? As long as you use a framework, isn't it just a couple days' work (maybe even a day)? Learning/using a full-fledged CMS might take more time.
This may be overkill, but you may want to take a look at SugarCRM