General discussions related to php
3 posts • Page 1 of 1
This is some sort of encoding issue, but I really don't know how to solve it - I thought maybe someone here could help. I have a URL that needs to be echoed as a link in my PHP script. Part of the URL contains the string: "1a9571fe1b674481a2b04e2422a8d5107656467491445368579". However, when the URL is rendered (or if you simply "echo" the string to the screen), PHP returns "1a9571fe1b674481a2b04e2422a8dXXXXXXXXXXXX1445368579". Basically, it is substituting the portion "8d510765646749" with the 'X''s. I've tried escaping the string, which does not work. Can someone suggest a solution? Thanks much!