Login System parseProfile.php Question

Posted in CategoryGeneral Discussion
  • Terry Ogbemudia 7 months ago

    Hi Henry you will find it inside members.php

    <a href="public_profile.php?u=<?= $member['username'] ?>">
    <img src="<?= $member['avatar'] ?>" class="media-object" style="width:60px">
    </a>
    <a href="public_profile.php?u=<?=$member['username']?>">
    <?= $member['username'] ?>
    </a>

  • Hder 7 months ago

    I'm reviewing the Login project.  In parseProfile.php file, there is the "$_GET['u']" code near the top of the page.

    Can you point me to where this 'u' originated from?  Normally these are generated from form submissions with the tagname 'u', but I cannot seem to trace its origin. 

    PARSEPROFILE.PHP code in question shown below:

    if(isset($_GET['u'])){

        $username = $_GET['u'];

Please login or register to leave a response.