Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Possible to script a website login into a link?

  • 28-02-2012 5:42pm
    #1
    Closed Accounts Posts: 8,880 ✭✭✭


    Heyo,

    I'm working on a wedding website for a friend, and am having difficulty with a really badly designed website they're using for a registry.

    The site is: http://www.irishhoneymoonregistry.com/guest/default.asp

    In order to get at their registry you enter the first and last name of the Bridge & Groom and the date, then press go. If all the details are exactly right, it generates a cookie and sends you to the registry website.

    They've asked me to try and automate this process in some way, and I'm drawing a blank - I mainly just hack stuff together when working with sites, so my knowledge is kinda hodge-podge.

    Does anyone know if it's possible to use a script and autofill those fields, and want to point me in the right way to figuring it out? Would be much appreciated.

    Apologies if this is badly placed, btw, seemed like the best forum.


Comments

  • Registered Users, Registered Users 2 Posts: 81 ✭✭deco_b


    hi,

    the action of the form on the registry website posts the data fields
    sPerson1FirstName
    sPerson1LastName
    sPerson2FirstName
    sPerson2LastName
    iweddingdate
    iweddingmonth
    iweddingyear

    to
    http://www.irishhoneymoonregistry.com/guest/act_login.asp

    which if you go directly to that link it gives you a nice error page with the line number etc but thats another issue

    so from your website call that act_login.asp with your friends details in the fields it should achieve what you are looking for
    easy way would be to just copy the form part from the registry site and specify the value attribute for each field

    i'm sure you can build a http post within jquery so you could just link from your site


  • Closed Accounts Posts: 8,880 ✭✭✭Raphael


    Fantastic, just what I needed - Thanks!


Advertisement