beermaker74 Posted February 21, 2007 Share Posted February 21, 2007 this might be a silly question but anyway here it goes. I want to have a link that goes to page 2 and displays data based on a post var without a form . I know i can do this very easily with get but I am always weary about attackers with that method so i always try and hide my info. So how can i pass a post var from a standard link? thanks Link to comment https://forums.phpfreaks.com/topic/39407-send-post-from-link-not-form/ Share on other sites More sharing options...
hvle Posted February 21, 2007 Share Posted February 21, 2007 You will need to implement some javascript to achieve this (onclick). I know i can do this very easily with get but I am always weary about attackers with that method so i always try and hide my info. So how can i pass a post var from a standard link? thanks POST method is as easy to hack as it was with GET. Consider implement a hacker proof script instead of rely on which method to use. Link to comment https://forums.phpfreaks.com/topic/39407-send-post-from-link-not-form/#findComment-190092 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.