tdr170 Posted May 19, 2012 Share Posted May 19, 2012 (edited) Working on fixing an issue I am having with a module, when clicking on the products associated with the following link I get an invalid security token warning. If I change the link to include the token # from the url address bar then the link works, the problem is that this is a module and I want people to be able to install and not have to modify the PHP file. Can anyone help with how to properly code this to pull the token correctly. (original Link) (gives error) <td><a href="?tab=AdminCatalog&id_product=<?php echo $product['id_product'];?>&updateproduct&token=<?php echo $token;?>"><?php echo $product['name'];?></a></td> (workaround) (works) <td><a href="?tab=AdminCatalog&id_product=<?php echo $product['id_product'];?>&updateproduct&token=c5b4066fd181dfba81d5569ef3b2beff"><?php echo $product['name'];?></a></td> Thanks in Advance. Edited May 22, 2012 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted May 22, 2012 Author Share Posted May 22, 2012 Really No One??? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now