Forums

Downloading XML (1 post)

  1. myasirkhatri
    Member
    Posted 2 years ago #

    Hi,
    I have developed a wordpress plugin for my client's wordpress site. In this plugin I have written a routine that creates an XML file.

    I want that XML file to be sent to client's browser just after creating XML file

    I have tried "header(content-type text/xml);" but it throws exception that header is already defined.

    what can be the other ways?

    I will appreciate if any one can help me or give me a hint so that i could resolve this issue.

    Thakns

    Yasir Khatri

Topic Closed

This topic has been closed to new replies.

About this Topic