Appnitro Software Forums » MachForm

login per url

(5 posts)

  1. sonic
    Member

    Hi
    Is it possible to send the login data via URL?
    I have tried this here:

    http://yoururl.com/machform/index.php?ADMIN_USER=admin&ADMIN_PASSWORD=12345

    Unfortunately it will not work.

    Regards
    Sonic

    Posted 2 months ago #
  2. Hi ..

    For security reason I think it's not possible to parse the login data from url :) anyway may I know why do you want to do that ?

    Posted 2 months ago #
  3. sonic
    Member

    Hi

    I would like an automatic access without login procedure. The security reason is no problem, we use this form in an intranet.

    Posted 2 months ago #
  4. I see .. You can edit your index.php on machform folder and add this line around line 11 below session_start() code :

    $_POST=$_GET;

    after that you can call your machform login using this url

    http://host.com/machform/index.php?admin_username=admin&admin_password=admin&submit=1

    Posted 2 months ago #
  5. sonic
    Member

    Hi

    I have tried it and it works fine.
    Thanks

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.