PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 6th, 2009, 06:06 AM
Man-O-Leisure Man-O-Leisure is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 2 Man-O-Leisure User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 29 sec
Reputation Power: 0
PHP-General - How to make a secure login area with content??

Hi all, new here and to PHP, so sorry if i am in the wrong place.

I would like to know how i can create a part on a website where for example a client can login and then see proces and be able to purchase items, and see their payment history and items purchased. I would like the normal site (where anyone can see) to show items, but only have the prices and option to purchase when an authorised person logs in.. Can anyone please help me out as to where i can lear how to do this? I am having trouble finding it myself as i dont really know the correct terminology to search for.

Thanks so much to anyone that can help me out. This is for an idea site i have nothing that is up and running yet.

Reply With Quote
  #2  
Old November 6th, 2009, 06:46 AM
Northie's Avatar
Northie Northie is offline
Square Peg in a Round Hole
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2007
Location: North Yorkshire, UK
Posts: 627 Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 4 Days 18 h 59 m 49 sec
Reputation Power: 320
the scope of your project is too large for just one forums post.

The key to getting what you want is to create an authentication process (login form, database of users) and learn about how to pass information in the session.

Then, as you write each new module for your site, you can base the content on conditionals that use information in the session

Reply With Quote
  #3  
Old November 6th, 2009, 07:18 AM
Man-O-Leisure Man-O-Leisure is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 2 Man-O-Leisure User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 29 sec
Reputation Power: 0
Quote:
Originally Posted by Northie
the scope of your project is too large for just one forums post.

The key to getting what you want is to create an authentication process (login form, database of users) and learn about how to pass information in the session.

Then, as you write each new module for your site, you can base the content on conditionals that use information in the session


Ok thanks for that. So seeing that i dont know how to do any of this, would you suggest i learn how to do the login form and user database first? I am guessing the content i then want instide is just normal pages and forms that i later make secure or something

Reply With Quote
  #4  
Old November 7th, 2009, 04:59 AM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Location: Indy
Posts: 6,362 drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 2 Days 5 h 7 m 11 sec
Reputation Power: 613
OSCommerce

Quote:
Originally Posted by Man-O-Leisure
Hi all, new here and to PHP, so sorry if i am in the wrong place.

I would like to know how i can create a part on a website where for example a client can login and then see proces and be able to purchase items, and see their payment history and items purchased. I would like the normal site (where anyone can see) to show items, but only have the prices and option to purchase when an authorised person logs in.. Can anyone please help me out as to where i can lear how to do this? I am having trouble finding it myself as i dont really know the correct terminology to search for.

Thanks so much to anyone that can help me out. This is for an idea site i have nothing that is up and running yet.


Try OSCommerce
http://www.oscommerce.com/

Basically it's an open source, LAMP-based e-commerce system. I've used it several times, it's fairly quick to get up and running.
__________________
About DrGroove, Devshed Moderator: Happy Family Guy | Enterprise Application Architect & Developer | ITIL-Certified IT Process Engineer | Freelance IT Journalist | Multi-Instrumentalist & Composer

Reply With Quote
  #5  
Old November 7th, 2009, 11:36 AM
Northie's Avatar
Northie Northie is offline
Square Peg in a Round Hole
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2007
Location: North Yorkshire, UK
Posts: 627 Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level)Northie User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 4 Days 18 h 59 m 49 sec
Reputation Power: 320
Quote:
Originally Posted by drgroove
Try OSCommerce
http://www.oscommerce.com/

Basically it's an open source, LAMP-based e-commerce system. I've used it several times, it's fairly quick to get up and running.


but will be very difficult to make it behave the way you want it to, ie only show prices when logged in

Reply With Quote
  #6  
Old November 7th, 2009, 12:50 PM
s-p-n's Avatar
s-p-n s-p-n is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 163 s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level)s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level)s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level)s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level)s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level)s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level)s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level)s-p-n User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 13 h 57 m 31 sec
Reputation Power: 154
You may need to sacrifice some desired functionality for ALLOT less work. I for one think it's worth it to avoid the very heavy learning curve. It could be years before you create a secure web-based application for your wants & needs. Once you get experience like Northie is when you devote a month or two to creating the base for such a project. Until then, get familiar with other products, (open or closed source), to gain some experience with how the "big dogs" do things. Learn PHP on the way there
__________________
- The Wise Guy

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > PHP-General - How to make a secure login area with content??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek