Is there a way to manipulate the php output before it's loaded, like for instance, I made a php script that parses xml data, gets info on local files etc, and it's all separate variables. I was wondering if the data to be echoed is stored in a variable or something so I can encode the data into a javascript document.write just before the page actually loads without having to manually encode each variable echoed.



Reply With Quote

Bookmarks