içerik türü olabilir?

0 Cevap php

Ben kaydedilen bir xml dosyası var ve bu benim yapmak istediğim şey,

Bazı biri bir xml dosyasını içeren linki tıkladığınızda, onlar dosyayı kaydetmek veya açmak istiyorsanız onları soru sormak istiyorum.

I know there is a way to do this using http header to send and trick your brower into using the application/octet-stream mime type, but I forgot how it was done. .. it gives me this error

The XML page cannot be displayed 
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

XML document must have a top level element. Error processing resource 'file:///C:/Documents and 

0 Cevap