SchweppesAle Posted October 19, 2009 Share Posted October 19, 2009 Hi, I was hoping to take a string value then convert it - consistently - across each of our pages into a alphanumeric value. I figured the hash function would be able to accomplish this; the results don't appear to be consistent though. I'm probably going about this the wrong way. Any recommendations? Link to comment https://forums.phpfreaks.com/topic/178237-solved-hashing/ Share on other sites More sharing options...
SchweppesAle Posted October 19, 2009 Author Share Posted October 19, 2009 Hi, I was hoping to take a string value then convert it - consistently - across each of our pages into a alphanumeric value. I figured the hash function would be able to accomplish this; the results don't appear to be consistent though. I'm probably going about this the wrong way. Any recommendations? just so you guys know, this is for a cookie pointer value. I figured retrieve the domain and then "mix it up" so users can't readily identify and then mess with the value. I'd enter a static value, however we'll probably be implementing this plugin across multiple sites. Link to comment https://forums.phpfreaks.com/topic/178237-solved-hashing/#findComment-939739 Share on other sites More sharing options...
SchweppesAle Posted October 19, 2009 Author Share Posted October 19, 2009 wow, this is completely unnecessary. Sorry, I'm new too cookies as well. Didn't realize persistent cookies where restricted to the domain that set them. Guess that makes sense though Link to comment https://forums.phpfreaks.com/topic/178237-solved-hashing/#findComment-939770 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.