GRPsuper Posted April 15, 2006 Share Posted April 15, 2006 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.phpand in that file, i want me to be able to do thisgrpsuper9.stylehosting.com/log.php?username=GRPsuper9&password=hihihihifirst 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 pagegrpsuper9.stylehosting.com/logged.phpand 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? Quote Link to comment https://forums.phpfreaks.com/topic/7453-i-need-help-with-logging-information-with-php/ Share on other sites More sharing options...
wildteen88 Posted April 15, 2006 Share Posted April 15, 2006 Use $_GET?In log.php you can do the following at the very top of the file:[code]<?phpif(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.}?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/7453-i-need-help-with-logging-information-with-php/#findComment-27188 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.