Jump to content

URL Encryption


MasterACE14

Recommended Posts

I have been looking at different Methods of Encryption in PHP, but I still haven't found anything nice and basic to encrypt the URL of 1 page. I was thinking that maybe you could do something like.

 

header(encrypted())

 

I dunno, just need something to encrypt the URL of this 1 page. Note: their is no form on the page. Otherwise this would be a much simplier task lol. But I don't need a form. Just need to encrypt the URL.

 

The faster you reply the better  :D

 

thanks,

 

Regards ACE

Link to comment
Share on other sites

thats a start. Thanks  ;D

 

I've been playing around with urlencode() and header() and I don't think its going to work. It does encrypt the URL, but it can be easily reversed, and its just not secure enough. also, is their an alternative to using header("Location: http://www.example.com/") I need to be able to change the current pages URL without redirecting.

 

Thanks,

 

Regards ACE

Link to comment
Share on other sites

hmmm, I've been thinking about alternatives like AJAX, but I just want something basic, and don't really want to have to learn another Language to do 1 task. I have thought of Encrypting the URL, the other thing I thought that might work for security would be make a if statement that checks if a person got to my page from the right website, and if not it would redirect them to another page. Is that possible? and is it safe and secure?

 

Regards ACE

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.