Search code examples
phpbrowserhashrenderer

Display Page without any HTML rendering


I have an inconsistency between two pages.The PHP is dumping the variables and I need to be able to see the raw data in the variable without an HTML render rendering anything that might be in them.

The post rendered version are 100% identical, but when I take the strings and hash_hmac then they get different resulting hashes.

Is there any way to dump these strings and see the raw data?


Solution

  • It wouldn't work, I tried. I was making an Amazon FPS system and the signature was invalid because they hard rendered new lines in the post request to make the signature. The system I build had spaces. After posting this I dumped the results into a database and say in the db that it had newlines.

    Answer: Take the strings and dump them into a database. Then use the database to see the differences. This was the only way I found to solve my issue.