Jump to content

send post from link not form


beermaker74

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.