Thread: Help me Please

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    34

    Help me Please

    I know this doesnt go here but I dont know anywhere else to put it.

    Can somebody help me or give me a really good tutorial on how to make log/register for my website? I am building a website and I need to put those two in, if someone knows how to do this can you please help me?

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What tools are you using for building your website [and yes, it doesn't go here - I'm sure one of the moderators will move it to some better place, such as general discussion].

    If you have mySQL as part of your system, you could just create a table of usernames and passwords [encrypted if you need some more security].

    Otherwise, you will have to create a file and check it against usernames.

    Either way, you will need to use some host-scripting tools such as PHP.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Do you have any idea on how to actually begin this, what if I am using freewebs? Is there any way to make it, or can you help me make one?

    PS: This is something I have never done.

  4. #4
    Banned
    Join Date
    Nov 2007
    Posts
    678
    PS: This is something I have never done.
    Then what have you done up to now?

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    I have done lots of programming and HTML but for some reason HTML cannot do a login/registration system

  6. #6
    Banned
    Join Date
    Nov 2007
    Posts
    678
    You need to learn server side scripting to be able to do this! So please learn that first

  7. #7
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Any ideas on where i can get started??

  8. #8
    Banned
    Join Date
    Nov 2007
    Posts
    678

  9. #9
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Thank you ALOT If this doesn't help do you have anything in which I can contact you?

  10. #10
    Banned
    Join Date
    Nov 2007
    Posts
    678
    Well if this does not help you ... then GOD help me
    Kidding! Just read from the site, you will learn a lot (only if you wish to learn)

  11. #11
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Thank You

  12. #12
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Okay I have learnt a few things, like i need 3 different types of things which I have already downloaded, I also have learn t how to do some PHP but how do I actually test it out?? Is it the same as HTML, just open it with internet?

  13. #13
    Registered User
    Join Date
    Jan 2006
    Location
    Latvia
    Posts
    102
    You'd have to use a webserver like apache to parse php files. http://www.apache.org/
    PHP: http://www.php.net/downloads.php#v5

    Or if you don't want to mess with the configuration, use a package like xampp or wamp.
    Last edited by Overlord; 04-30-2008 at 04:43 AM.

  14. #14
    Banned
    Join Date
    Nov 2007
    Posts
    678
    Since you already have a website (you said above), you already have a web server set up!
    Just learn a few simple php programs, from the site, then save them in .php file, and put this file on server, access it from browser, it will work.

  15. #15
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Ahh so for example I would do something like this

    <A href = 'www.freewebs.com/mywebsite/login.php'>login</A>

    would that be how to do it?

    and in the php file i would have for example

    <html>
    <body>

    <?php
    echo "hello";

    ?>

    </body>
    </html>

    that may not work i just made it out of my heaD BUT you get it right ?

Popular pages Recent additions subscribe to a feed