DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> Hardware and Software >> Php Website Login
Pages:  
Showing posts 1 - 13 of 13, (reverse)
AuthorThread
10/13/2010 08:37:25 PM · #1
For my new website...

How would i go about creating a php-based login system for users.
I'd like them to be able to change they're picture, post in forums, comment on videos/posts, change their password and verify via email.
I'd also like to have admin accounts. The admins can post in special areas normal users can't, thats it.

Two user types: Basic, and admin.
Basic users can't post in special area.

How could I accomplish this advanced login system?
Have any suggestions or tutorials I can follow.

Thanks!
10/13/2010 09:01:31 PM · #2
I've tried This free software and it works great, it is easy to setup and maintain. Good luck
10/13/2010 09:12:53 PM · #3
Originally posted by senor_kasper:

I've tried This free software and it works great, it is easy to setup and maintain. Good luck


That's forum only, there's no video uploading, commenting, picture changing, etc. I'm not looking just for forums, I'd like a full-php login and user system. Thanks for the quick reply though!

Message edited by author 2010-10-13 21:19:08.
10/13/2010 09:37:03 PM · #4
I use Gallery 2. Its open source, but secure. You will need PHP 5.0 and MySql.
10/13/2010 10:12:30 PM · #5
Originally posted by PGerst:

I use Gallery 2. Its open source, but secure. You will need PHP 5.0 and MySql.


I'm looking for something more like shadowness.com. This gallery thing won't let users comment on videos or post in forums or change profiel picture, etc. But thanks!
10/14/2010 01:09:03 AM · #6
I've used Coppermine on a couple sites: here and here. *Neither has been updated in a long time. Both use a fairly out of the box theme/template. I know you can tweak the settings for comments and ratings, etc. You can find out more and download it here.

edit: oh I didn't see the stuff about video. Not sure if Coppermine does video.

Here is a very robust system (somewhat complex though) that I have implemented for others in the past: //www.phpfox.com/ - not free but reasonably priced. Most of your investment in any solution will be TIME. Good luck.

Message edited by author 2010-10-14 01:11:13.
10/14/2010 01:17:15 AM · #7
Not quite sure what your after but have you given any thought to a CMS... like Joomla or Mambo

Bit of work to setup and not PHP exactly but sounds like what your looking for....
10/14/2010 01:29:21 AM · #8
Originally posted by robs:

Not quite sure what your after but have you given any thought to a CMS... like Joomla or Mambo

Bit of work to setup and not PHP exactly but sounds like what your looking for....

Good call - both free open-source and highly supported by a community of developers. Drupal is another popular one.
10/14/2010 07:32:29 PM · #9
Originally posted by Art Roflmao:

I've used Coppermine on a couple sites: here and here. *Neither has been updated in a long time. Both use a fairly out of the box theme/template. I know you can tweak the settings for comments and ratings, etc. You can find out more and download it here.

edit: oh I didn't see the stuff about video. Not sure if Coppermine does video.

Here is a very robust system (somewhat complex though) that I have implemented for others in the past: //www.phpfox.com/ - not free but reasonably priced. Most of your investment in any solution will be TIME. Good luck.


Oh my fucking god!
phpFox it EXACTLY what I'm looking for!
Thanks godzilla-man!
10/15/2010 12:03:23 PM · #10
PHPNUKE is a good free one I have used for a long time. Turned off the forum part though
can drop Gallery in it too (free)

Message edited by author 2010-10-15 12:05:14.
10/15/2010 06:13:45 PM · #11
Originally posted by ApertureJack:

Oh my fucking god!
phpFox it EXACTLY what I'm looking for!
Thanks godzilla-man!

You're fucking welcome.
10/16/2010 12:32:34 AM · #12
Coding some php. Stuck here. Making a simple registration and login system that reads and writes a mySQL database. This snippet of code is bothering me:

else{
/* Check if username is not alphanumeric */
if(!preg_match('/i' "^([0-9a-z])*$" $subuser)){
$form->setError($field, "* Username not alphanumeric");
}

It's supposed to check if the username entered is alphanumeric (having only letters and numbers). But it return this error when I view it on localhost:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /Applications/XAMPP/xamppfiles/htdocs/demo/include/session.php on line 135

Can you help me?
10/16/2010 06:33:24 AM · #13
You're missing some commas in the preg_match call :

if(!preg_match('/i', "^([0-9a-z])*$", $subuser)){
Pages:  
Current Server Time: 11/10/2025 04:01:15 AM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 11/10/2025 04:01:15 AM EST.