What should I use?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Locura
Forum Newbie
Posts: 3
Joined: Fri Dec 05, 2008 11:22 am

What should I use?

Post by Locura »

I'm very new to PHP but I am learning. The site I am working on putting together I need to have clients log into the secure site. Once logged in they will be able to view information that is unique to them, no one else should be able to see their data. I have put together the PHP code for a login :) Now I am at a loss as to do I build this is code from scratch or is there a set of Frameworks out there now. As I said I am very new to this and any tips or ideas would be a great help.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: What should I use?

Post by jaoudestudios »

You could use a framework like cakephp for the login system, however this might be overkill for what you need. You could easily write a simple auth system yourself.
User avatar
airy
Forum Newbie
Posts: 20
Joined: Fri Jul 11, 2008 2:53 am

Re: What should I use?

Post by airy »

it's simple to auth user,just like

Code: Select all

if(($user=="jack") and ($password=="ROse")) {
    echo "my heart will go on";
}
so, Do you mean how to show the "unique data"?
Locura
Forum Newbie
Posts: 3
Joined: Fri Dec 05, 2008 11:22 am

Re: What should I use?

Post by Locura »

In my test environment I have built a login system. It is up and working. I have a few user accounts and each account can log in. They all go to the same log in success page. I need to set it up so Joe see the flash content for his information, and Same would see his flash information. Building the flash is being pulled from an outside program (Xcelsius). What would be the best path to pick from here to get each user seeing his information and not having them all land on the same page?

sorry I guess my first post was not the clearest.

Thanks
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: What should I use?

Post by John Cartwright »

Locura wrote:Building the flash is being pulled from an outside program (Xcelsius). What would be the best path to pick from here to get each user seeing his information and not having them all land on the same page?
I'm not familiar with Xcelsius. Where does it store it's data? Perhaps a database, such as mysql? or does it provide an REST API or something?

More info please.
Locura
Forum Newbie
Posts: 3
Joined: Fri Dec 05, 2008 11:22 am

Re: What should I use?

Post by Locura »

Xcelsius builds flash content from Crystal Reports, or Excel. I am connecting the output from Xcelsius and putting it up so that clients from all over the world can log in and see information. The data is pulled from our database and Xcelsius in turn formats it in a flash (swf) chart layout. http://resources.businessobjects.com/su ... alysis.swf is an example of what Xcelsius out put looks like.
Post Reply