php - Post value through load Jquery function that not visible in source? -


what want want load page in div

   $('div[id=main]').load('logo.php?id=<?php echo($id); ?>'); 

but user can open page typing in url /logo.php?id=123

   $('div[id=main]').load('logo.php',{ '12secret2': "hack"}); 

finding code hide passing value post,that not visible in user source code , able redirect if it's not passed

    $('div[id=main]').load('logo.php',{ '12secret2': "hack"});  

is visible not able hide passing value

if conducting client server communication traffic visible client side, no matter do. if want security encode client communication portion in form of binary code , encrypt how. still possible reversed.

having said that

you should use session maintain data don't want client see


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -