skateme Posted December 14, 2006 Share Posted December 14, 2006 Hi,I was learning PHP about 3 months ago but stopped because I couldn't fix the 'mysql_connect' problem. My friend directed me to here and I solved it! So, I have lost almost all of my PHP skills and am a noob again :(. I was wondering whether any of you had a login script/login tutorial I could look at.Thanks in advance :)! Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted December 14, 2006 Share Posted December 14, 2006 Did you look at the tutorials section?http://www.phpfreaks.com/tutorial_cat/7/Membership-Systems.php Quote Link to comment Share on other sites More sharing options...
skateme Posted December 14, 2006 Author Share Posted December 14, 2006 Yes, I did. However, the code there is very difficult to understand and uses something called Myphpadmin. What is that and where can I get it? Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted December 14, 2006 Share Posted December 14, 2006 did you try google?http://www.google.com/search?hl=en&lr=&safe=off&q=phpmyadmin&btnG=Search Quote Link to comment Share on other sites More sharing options...
skateme Posted December 14, 2006 Author Share Posted December 14, 2006 sorry for being a noob :(i'm having mysql problems....I am gonna have to check into that before I do anything else :'( Quote Link to comment Share on other sites More sharing options...
irken Posted December 14, 2006 Share Posted December 14, 2006 Hi.I have posted my simple login system in the post right under yours :).Right here: http://www.phpfreaks.com/forums/index.php/topic,118541.0.htmlIt's very very basic and might not be all correct in the sense of style (programmers have different ways of doing things, with the same result). I believe it's easy to read. Hopefully you can use it together with some of the tutorials. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted December 14, 2006 Share Posted December 14, 2006 are you running PHP on your computer. If not then download a program called WAMP. WAMP is PHP 5+ i think atm. And it comes with phpMyAdmin as well. download it from www.wampserver.com Quote Link to comment Share on other sites More sharing options...
skateme Posted December 14, 2006 Author Share Posted December 14, 2006 thanks for the code! i would use wamp but I am running php on my computer. :) Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted December 14, 2006 Share Posted December 14, 2006 WAMP is just like a server, probably similar to what you have, except that from what i've been gathering your's doesnt come with phpMyAdmin. WAMP server does... Quote Link to comment Share on other sites More sharing options...
irken Posted December 14, 2006 Share Posted December 14, 2006 There is always XAMPP if you're looking for an easy install of Apache, PHP and MYSQL.http://www.apachefriends.org/en/index.htmlThat was what I first started out with, until I figured out how to configure everything myself. It's a bundle of the 3, including some automated configuration and so forth. Quote Link to comment Share on other sites More sharing options...
skateme Posted December 14, 2006 Author Share Posted December 14, 2006 irken: how long did it take you to learn all of that???? Did Xammp solve any problems about going in to MySQL? Quote Link to comment Share on other sites More sharing options...
irken Posted December 14, 2006 Share Posted December 14, 2006 [quote author=skateme link=topic=118540.msg484479#msg484479 date=1166060397]irken: how long did it take you to learn all of that???? Did Xammp solve any problems about going in to MySQL?[/quote]Well, it's hard to say how long it took really. I just took it in small steps. There is not really any configuration in regards to MySQL if you download the installer programmer, rather than the .zip distribution. It asks you which root password you would like and how the kind of server type to install. It should start itself automatically after that.. then it's really just a matter of programming the connection-string in PHP and there you go.As for the Apache install. I installed that, the only setting I changed was the document root (htdocs) path, and PHP did the configuration for the PHP module itself (Read: again download the installer rather than the PHP .zip distribution).That's it.. write 2 lines of configuration and you're good to go. XAMPP automates "all this" for you tho and installs some tools to help you administrate the server. For MySQL administrating I use Navicat - I like it's clean GUI, table designers and it's very very easy to use - http://www.navicat.com/.Using navicat is ok in the beginning, but try to use the console aswell to learn the MySQL commands (INSERT, UPDATE, SELECT,...). You tend to get very lazy when using such applications as Navicat :D. Quote Link to comment Share on other sites More sharing options...
skateme Posted December 14, 2006 Author Share Posted December 14, 2006 thanks. i'll check navicat out :) Quote Link to comment Share on other sites More sharing options...
Trium918 Posted December 14, 2006 Share Posted December 14, 2006 Are you still looking for that Login php script? Quote Link to comment 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.