budd Posted September 12, 2007 Share Posted September 12, 2007 hey everyone im new here, wondered if you could help me im learning php and created a safe crack game where you need to guess the 3 digit combination all works well accept you can see the 3 digit value in the source code <input type = "hidden" name = "x" value= <?php Echo "$x"; ?>> how can this be done so it wont show the value in the soruce code when people right click and view source thanks Quote Link to comment https://forums.phpfreaks.com/topic/69078-value-question/ Share on other sites More sharing options...
liebs19 Posted September 12, 2007 Share Posted September 12, 2007 You could store the values in a session instead of in hidden fields. Quote Link to comment https://forums.phpfreaks.com/topic/69078-value-question/#findComment-347225 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.