Quote Originally Posted by cyborg from dh
the second define should be
PHP Code:
define('SS''c'0); 
Arg!

Ok, I forgot about the freaking C constant.

PHP Code:
define('S' strtoupper(str_rot13(f)), 'c'0);
/*
01234567890123
fghijklmnopqrs
strtoupper to S
SS, 'c', 0
*/ 
Quote Originally Posted by cyborg from dh
You made another obvious mistake, however you've simplified it so much i'm not sure why you stopped, being so close and all....
I wonder what that was. Still don't see it. I'm redoing what I had, so maybe I'll spot it.