Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > PHP

Reply
 
LinkBack Thread Tools
Old July 29th, 2008, 04:38 AM   #1
Reputable Member
 

Join Date: Jun 2007
Location: UK
Posts: 459
Thanks: 1
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 crackafaza is on a distinguished road
Php Website

Hi all,

For my company I am building a dating website, using PHP, and as I only know the real basics in it, this task is going to be a tought, but experience learning one.

Right, first off, I have created the simple register, and login form for my website, but it is confusing me how I would go about once they are registered, and then they sign in, how does it send to there own page not someone elses?

Is there any tutorials out there? or can anyone help?

Thanks
Craig
__________________
crackafaza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 29th, 2008, 05:10 AM   #2
Reputable Member
 

Join Date: Feb 2007
Location: UK
Posts: 213
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 dangergeek is on a distinguished road
Re: Php Website

You need to look in to sessions and cookies. Also a mysql database is essential to store the users details.

I'd cut some corners and use Joomla which has dating extensions that can be added.
__________________
Download Guitar Hero Songs
dangergeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 29th, 2008, 05:16 AM   #3
Reputable Member
 

Join Date: Jun 2007
Location: UK
Posts: 459
Thanks: 1
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 crackafaza is on a distinguished road
Re: Php Website

Thanks for the input, I realised that a MySql database was needed, because I have one implemented already.

I know I could easily use CMS's that would work a charm, but I would prefer to create it from scratch so that I am learning loads in the process.

So you say cookies and sessions, do you have any tutorials about this that would become handy to me?
__________________
crackafaza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 29th, 2008, 05:30 AM   #4
New Member
 

Join Date: May 2008
Location: Colorado
Age: 20
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Rep Altering Power: 0 luv2php is on a distinguished road
Re: Php Website

http://w3schools.com/php/php_cookies.asp

http://w3schools.com/php/php_sessions.asp

those are a couple great beginner tuts on how to use sessions and cookies.
php.net is a nice place to find information about them as well, or anything dealing with php for that matter...
luv2php is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 29th, 2008, 05:33 AM   #5
Reputable Member
 

Join Date: Jun 2007
Location: UK
Posts: 459
Thanks: 1
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 crackafaza is on a distinguished road
Re: Php Website

Ok, I will have a more in depth look at them in a moment, but what comes first? where is the code written? is it written when they register? sign in? what, because I am a little confused and lost.
__________________
crackafaza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 29th, 2008, 05:41 AM   #6
Reputable Member
 

Join Date: Feb 2007
Location: UK
Posts: 213
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 dangergeek is on a distinguished road
Re: Php Website

I also use tizag for easy to understand instruction http://www.tizag.com/phpT/

When someone logs in their id is written to the 'session'. At the top of every page you recall the session id (very much like parsing a submitted form). So each page remembers the user's id and can display the relevant data.
__________________
Download Guitar Hero Songs
dangergeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to parse data from a different website into my website? Phil Classic ASP 7 January 11th, 2008 07:18 PM
Website developers’ website - pls comment art Full Website Reviews 4 September 2nd, 2006 12:54 PM


Search Engine Optimization by vBSEO 3.2.0 RC8