Distant_storm Posted December 1, 2007 Share Posted December 1, 2007 Is checking a string such as ´æÐ:ܾ,y·Ù’O3¾#é× using == or != going to work as I have tried it and put if != then echo the two values out and even after trimming it still returns that they are not the same ? any ideas Quote Link to comment Share on other sites More sharing options...
wsantos Posted December 1, 2007 Share Posted December 1, 2007 How in the world did you get that string? EBCDIC? Try this http://www.php.net/manual/en/function.ebcdic2ascii.php Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted December 1, 2007 Author Share Posted December 1, 2007 It is a result from a sh1 encryption. Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted December 1, 2007 Author Share Posted December 1, 2007 I get this Call to undefined function ebcdic2ascii() when trying to use that function ? Quote Link to comment Share on other sites More sharing options...
wsantos Posted December 1, 2007 Share Posted December 1, 2007 it is noted that it might only be on the CVS. Anyway knowing the source of the string helped. http://www.php.net/sha1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.