Jump to content


This topic is now archived and is closed to further replies.


i need help with Logging Information with PHP!!!

Recommended Posts

hey, i was wondering if someone could help me with the code i will describe below.
this is what im trying to do:
i want to make a link called grpsuper9.stylehosting.com/log.php

and in that file, i want me to be able to do this


first off, i want to know how to make it so i can the ?username=GRPsuper9&password=hihihihi. then, i want the information that i typed "GRPsuper9" and "hihihihi" to be writting automaticly to this page


and each time i used this url grpsuper9.stylehosting.com/log.php?username=aaaa&password=bbbbb, it would stack the information in an array.

how would i do this?

Share this post

Link to post
Share on other sites
Use $_GET?

In log.php you can do the following at the very top of the file:

if(isset($_GET['username']) && isset($_GET['password']))
    echo "Your Username is <b>{$_GET['username']}</b> and your password is <b>{$_GET['password']}</b>";

    // other code here.



Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.