PHP script to convert XML to HTML
I have two questions.
I'm looking for a PHP script to convet a XML file to a HTML file on the fly. Do you know where I can find this?.
On the other hand, I create a PDF file using PHP. When the PDF is open on a new web browser, and after a delay of 1 minute, the PDF file must be delete from the server directory. I've try with this PHP instructions:
unlink("$result"); -->where $result has the link to the pdf file.
but something is worng because I can open the file before delete it (of course). Any ideas.