webio Posted May 23, 2010 Share Posted May 23, 2010 Hello, I'm writing custom payment provider and I'm having difficulties with probably dbconnect.php file encoding. My payment provider company requires that when callback script will be accessed by them it must return "OK" string. Currently it returns ďťżďťż I've narrowed down problem to dbconnect.php file which is being included from callback script. When I comment it callback script is returning correctly OK using echo("OK"); Any ideas? Thank you P.S. I've tried to change encoding of dbconnect.php file but this will not work since file is encoded by IonCube and returns error after conversion. 0 Quote Link to comment Share on other sites More sharing options...
webio Posted May 23, 2010 Author Share Posted May 23, 2010 I've made a little crazy workaround. Instead of echo("OK") I'm using header('Location: .....ok.php'); which points to file containing only: <?php echo("OK"); ?> and it worked 0 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.