alen Posted June 24, 2006 Share Posted June 24, 2006 Howdy!I'm looking for a 'Members' script.Wich displays the name, location, email and maybe something more.There should be an admin place, where you can add people into the 'Members list'.Anyway .. Has anyone by any chance seen this type of php script?Best regards Alen Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/ Share on other sites More sharing options...
.josh Posted June 24, 2006 Share Posted June 24, 2006 sure, lots of times! Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49000 Share on other sites More sharing options...
alen Posted June 24, 2006 Author Share Posted June 24, 2006 Where do you think i could get it? Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49026 Share on other sites More sharing options...
hackerkts Posted June 24, 2006 Share Posted June 24, 2006 Try scripting it yourself, reading the tutorial here I believe you could do it yourself.Or try yahoo/google search for them. Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49038 Share on other sites More sharing options...
.josh Posted June 24, 2006 Share Posted June 24, 2006 [!--quoteo(post=387406:date=Jun 24 2006, 05:52 AM:name=alen)--][div class=\'quotetop\']QUOTE(alen @ Jun 24 2006, 05:52 AM) [snapback]387406[/snapback][/div][div class=\'quotemain\'][!--quotec--]Where do you think i could get it?[/quote]sorry, we're not here as a resource for ready made scripts. we (try to) help you fix your own code that you are working on. Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49128 Share on other sites More sharing options...
alen Posted June 25, 2006 Author Share Posted June 25, 2006 hackerkts, what tutorial did you mean? Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49328 Share on other sites More sharing options...
hackerkts Posted June 25, 2006 Share Posted June 25, 2006 [a href=\"http://www.phpfreaks.com/tutorial_cat/8/Basics-&-Beginner-Tutorials.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorial_cat/8/Ba...r-Tutorials.php[/a]Learn the basic first, then gotta learn cookie and session. Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49332 Share on other sites More sharing options...
alen Posted June 25, 2006 Author Share Posted June 25, 2006 I know the basics so...I'm going to start with an admin login page. Only the admin will be adding members.Everything will be stored in a MySQL database, wich then spits out the members information.Any pointers before i start? Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49372 Share on other sites More sharing options...
hackerkts Posted June 25, 2006 Share Posted June 25, 2006 Now you need to learn session, btw.. Don't ask me about session. I'm still learning it at the moment. :P Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49382 Share on other sites More sharing options...
alen Posted June 26, 2006 Author Share Posted June 26, 2006 Blarg! Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49594 Share on other sites More sharing options...
.josh Posted June 26, 2006 Share Posted June 26, 2006 sessions are really easy. at the beginning of your script, put this:[code]<?phpsession_start();//rest of code here[/code]then to make a session variable, you just do this:[code]$_SESSION['shiz'] = 'i am teh shiz';[/code]so let's say you have 2 pages. page1.php will make your variable. page2.php will print it out:page1.php[code]<?php session_start(); //tell php we want to access session variables $_SESSION['shiz'] = 'I am teh shiz'; //create a session var //make a simple link to the 2nd page echo "<a href='page2.php'>click me to go to page2</a>";?>[/code]page2.php[code]<?php session_start(); //tell php we want to access session variables //always good to check to make sure the variable exists //rather than assume it does. if ($_SESSION['shiz']) { //echo the value out echo $_SESSION['shiz']; }?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49596 Share on other sites More sharing options...
alen Posted June 26, 2006 Author Share Posted June 26, 2006 I know how to deal with session.Anyways.. I get this parse error, Parse error: parse error, unexpected $end in C:\public_html\members\admin.php on line 306.Here's my code, [a href=\"http://techmonkeys.org/eggpaste/12\" target=\"_blank\"]http://techmonkeys.org/eggpaste/12[/a]Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/12779-members-list/#findComment-49728 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.