Hi All
The scenario is as follows:
I am sending a complete html script as a string enclosed in xml tags. Parsing it doesn't work. When I tried to encode it base64, it works except when the html tag has an attribute (ex <body bgcolor=blue>).
If all tag-attributes are excluded, the html gets parsed. When the datastring containing the html is returned, I want to display this html. I've achieved it by writing it to a file, and doing a join/implode with the file name a url (ex join("",file("http://localhost/file.name"))). This works sometimes, but when for instance a php script is embedded in the html file, it just ignores it.
How can I execute this html/php retrieved from the join function?
Also, I would like to send (embedded in the html/php code), an image (ex jpg), and display it. can I recreate the jpg image from a string variable containing the image data?
Thanks
Hennie