How do I set variable and go to webpage in one click?
Solved/Closed
BrianGreen
Posts
1005
Registration date
Saturday January 17, 2015
Status
Moderator
Last seen
September 30, 2021
-
Oct 7, 2015 at 08:47 PM
BrianGreen Posts 1005 Registration date Saturday January 17, 2015 Status Moderator Last seen September 30, 2021 - Oct 12, 2015 at 11:26 AM
BrianGreen Posts 1005 Registration date Saturday January 17, 2015 Status Moderator Last seen September 30, 2021 - Oct 12, 2015 at 11:26 AM
Related:
- How do I set variable and go to webpage in one click?
- How to set auto redial on android - Guide
- How to set video quality in facebook - Guide
- How to set viber offline - Guide
- How to set date and time in whatsapp - Guide
- How to set out of office in outlook - Guide
1 response
BrianGreen
Posts
1005
Registration date
Saturday January 17, 2015
Status
Moderator
Last seen
September 30, 2021
149
Oct 12, 2015 at 11:26 AM
Oct 12, 2015 at 11:26 AM
I think I did it ...
The shortcut (in this case the first name on page 1) is given the following link:
The other names (from the list you choose from) get a similar link but chosenname and namechoise are different.
All subsequent pages where you want the name to be gets this code ...
I believe the htmlspecialchars adds some security against hackers injecting their own code, but in this case I dont see how this can happen.
Anyway, thats how I think it works.
Hope its all clear.
I really appreciate thank you messages as a payment for solving issues :o)
The shortcut (in this case the first name on page 1) is given the following link:
<a href="name1.php?location=chosenname" title="namechoise1">namechoise1</a>
The other names (from the list you choose from) get a similar link but chosenname and namechoise are different.
All subsequent pages where you want the name to be gets this code ...
<?php echo htmlspecialchars($_GET['namechoise1']); ?>
I believe the htmlspecialchars adds some security against hackers injecting their own code, but in this case I dont see how this can happen.
Anyway, thats how I think it works.
Hope its all clear.
I really appreciate thank you messages as a payment for solving issues :o)