Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello,

    You dont need to actually serve the file w/ a PHP extension in Tropo to get Tropo to use it, but please dont mistake that as the file type is not important, infact it is. Tropo uses the file type to determine the “Scripting Engine” it intends to use to render the script, eg PHP, Ruby, Python, Groovy, Ect..
    So that being said you actually have a few options here; First you can change the file type to tPHP, eg http://awesomeServer.com/tropo/script.tPHP, or you could even serve it as .txt?tropo-engine=php, adding that query string parameter tells Tropo what engine to use. Lastly you could serve it us as anything provided you pass the correct content-type header in the response. I do hope this helps, and if there are any other questions please dont hesitate to drop by our IRC channel #tropo on Freenode, or email [email protected]

    Thanks!

    -John

Viewing 1 replies (of 1 total)