scarhand Posted March 24, 2009 Share Posted March 24, 2009 i have a string - LÙH²räâG3Âd\0(anBì this is supposed to be coming from a $_GET variable, called $_GET['info_hash'] however, I believe the null byte "\0" in this string is causing php to read the variable as empty, as using the empty function tells me it is empty even though it is not. what is the workaround for this? Quote Link to comment Share on other sites More sharing options...
Yesideez Posted March 24, 2009 Share Posted March 24, 2009 I think the non-ASCII characters in it are causing it. Quote Link to comment Share on other sites More sharing options...
scarhand Posted March 24, 2009 Author Share Posted March 24, 2009 the funny thing is, it works for other raw sha1's such as ""!•g€Luµí¦S÷¸FF" and "¤h¦Š@ Ή´ùmÍëØØv¹" so obviously it is the null byte causing the issue. how do i make it work? 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.