How to encrypt url ID in php and decrypt URL ID when using GET

preview_player
Показать описание
How to Encrypt the URL | How to encrypt url ID in php and decrypt URL ID when using GET | php - Hiding $_GET variables using encryption

1- we are going to create an A tag that will have id in it the pass it in a url link.

2- then we encrypt it with our own math formula so that the user wont guess it.

3- then encrypt it using base64 encoding. this will make it even hadder.

4-Using $_GET method get that id in detail page and decrypt that encrpted id using base64 encryption

5- revers the math formula.

this method is for begginer who would like to know how to encrypt url value or id in url using php. if you are this isn't too good for you then i advice you use hashid php laravel library to encrypt url

#php #encrypt_url #base64 #hideurlvalue
Рекомендации по теме
Комментарии
Автор

thank menn you help me a lot thank you .. ( sorry for my bad english)

didoukhr
Автор

I like the first music song. Title please ? Cool video also.

TheEndOfMadness
Автор

Please credit the artists who perform the songs.

Venezuelangel
Автор

But it's not safe with base64 encoding too...
The best option is to use post method and avoiding get😃

educorporationteam
Автор

.exe file Encoding, Decoding how to sir
Software link send me sir

sanmugamc
Автор

Very very good video and on topic helped me to clear a lot of things but 🥺.

I am facing broken page with urlencode and decode

I have index.html with multiple buttons loaded with .mp4's and i am calling them to player.php with $_GET. i wanted to hide url for from status bar but when i do urlencode decode it brokes page.i want to urlincode and decode before it goes to player.

harimaniya
Автор

hello
Warning: A non-numeric value encountered in on line 8

GilTech.
welcome to shbcf.ru