Vishal Ghantala
Vishal Ghantala

Reputation: 86

Can we hide ID and its value from Query string in php?

I am facing problem with Query String in one of my Joomla Project.

I have video section in my project and also showing top video on home page. so when I link to detail page I am passing id of video. but here my client does not want to show id in string and its also cause some security problem.

So is there any solution to hide that ID from Query string?

Thanks in advance.!

Upvotes: 0

Views: 195

Answers (1)

Techie
Techie

Reputation: 45124

You can do two things to make this work as your client want.

  • Encrypt the link data and send. At the PHP end decry-pt and use them.
  • When user click on the link user use a form submission. Pass the value as hidden fields. Using POST method is secure than the GET method. Here also you can encrypt the values you send.

Upvotes: 1

Related Questions