0
Welcome Guest! Login
0 items Join Now

Pass parameters to get username & password?

  • Pass parameters to get username & password?

    Posted 14 years 10 months ago
    • Does anyone know how to pass the user-name and password to a menu item or wrapper? This is for security cameras, only registered users can see the feed, but there is a user-name and password for the cameras that I don't want the end user to know or to have to type in.

      Thanks,
      Kent
    • Joe Halleck's Avatar
    • Joe Halleck
    • Preeminent Rocketeer
    • Posts: 5481
    • Thanks: 68
    • Never give up!

    Re: Pass parameters to get username & password?

    Posted 14 years 10 months ago
    • This is crude but you could do somethiing like this:
      body onload='document.login.submit();'>
      <form name='login' id='login' method='post' action='http://mycameralhost/login.php'>
      <input type='hidden' name='txtUsername' id='txtUsername' value='testuser' />
      <input type='hidden' name='txtPassword' id='txtPassword' value='password' />
      </form>
      </body>
    • Magento - phpBB3 - Kunena - RokBridge Specialist
      No Secure Tab posts unless requested.
      Use the Thank You and Life Preserver Buttons!
      Your signature is also great place for setup details...help us help you!
  • Re: Pass parameters to get username & password?

    Posted 14 years 10 months ago
    • Thanks Joe, stupid question where do I need to put this default.php under the com_wrapper?

      Thanks,
      Kent
    • Joe Halleck's Avatar
    • Joe Halleck
    • Preeminent Rocketeer
    • Posts: 5481
    • Thanks: 68
    • Never give up!

    Re: Pass parameters to get username & password?

    Posted 14 years 10 months ago
    • Some location under your Joomla site so you can link it but the file could live on any web server.
    • Magento - phpBB3 - Kunena - RokBridge Specialist
      No Secure Tab posts unless requested.
      Use the Thank You and Life Preserver Buttons!
      Your signature is also great place for setup details...help us help you!
  • Re: Pass parameters to get username & password?

    Posted 14 years 8 months ago
    • I am looking to do the same but have the following requirements.

      I have 15 wrapper menu items linked to a page that requires a username and login. I am trying to get each menu item wrapper to pass it's own username and passwords that are unique for each menu wrapper item.

      Is there anyway to achieve this? Thank You - Mark

Time to create page: 0.092 seconds