Red Matrix
10-16-2012, 10:59 AM
I have tried searching the forum to no avail, words are too common.
In the register.php page, I am passing info to it via the GET parameter. I need to be able to look for the GET key in the URL, and then display its value in a field, to pre-populate it.
Currently the template has {vb:raw username} and it looks for the GET key called name, however I want that field to prepop with the value of a different key: custom%20user.
Can someone point me in the right direction please?
Thanks.
Dave
EDIT: Here is an actual example with fake data
/register.php?do=step2&email=someone%40gmail.com&from=someone%40gmail.com&custom%20user=Terminator2&meta_adtracking=reg&meta_message=1&name=John%20Connor&unit=forumreg&add_url=http%3A%2F%2Fforum.url%2Fstartregister.php&add_notes=192.168.0.1
In the register.php page, I am passing info to it via the GET parameter. I need to be able to look for the GET key in the URL, and then display its value in a field, to pre-populate it.
Currently the template has {vb:raw username} and it looks for the GET key called name, however I want that field to prepop with the value of a different key: custom%20user.
Can someone point me in the right direction please?
Thanks.
Dave
EDIT: Here is an actual example with fake data
/register.php?do=step2&email=someone%40gmail.com&from=someone%40gmail.com&custom%20user=Terminator2&meta_adtracking=reg&meta_message=1&name=John%20Connor&unit=forumreg&add_url=http%3A%2F%2Fforum.url%2Fstartregister.php&add_notes=192.168.0.1