Page 1 of 1

send authorized username in php form

Posted: Mon Aug 13, 2012 3:35 pm
by operatortt
Hello All
I am using RB493AH (v.5.14) in a hotel and I use usermanager for batch user generation according to user profiles and I print out them...Reception sells them .

I want to write a form script that guests can fill out their details so there will be a email DB....etc.
I will advertise this 1 time after login so users can fill them.
I have fields that asking for name surname country roomnumber and email address.I can write these to Mysql DB.
I also want to send username and macaddress background.(maybe as hidden)
is it possible to send autharized username in background.?(I think mac address is easy)
Thanks for ur interest...
PS.Sorry for bad English...

Re: send authorized username in php form

Posted: Wed Aug 15, 2012 1:46 am
by SubZero
just use google document form man :)

this is very easy 8)

Re: send authorized username in php form

Posted: Thu Aug 16, 2012 7:47 pm
by boen_robot
If the router is in the same subnet as the web server, you can use the API with something like this MAC finder to get the MAC address of the client. Of course, instead of writing it out on screen, you'd write it into a hidden form field. If the users already have their hotspot credentials and are logged in, you can capture those in a similar fashion. If not, you could register them at that point.

@SubZero
just use google document form man :)
Could you elaborate on that please?

Re: send authorized username in php form

Posted: Fri Aug 17, 2012 3:53 am
by SubZero
@SubZero
just use google document form man :)
Could you elaborate on that please?
i make a form with Google Docs (https://docs.google.com)
whit name fields, mob num, and more info..

and i add the form code in a hotspot page

Have you got the idea?