Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

ApplyForm.php to return xml

I'm working on a different client for the login and registration. I've managed to have the login working but the registration bit is still giving me headaches :( My application manages to receive and process the data that goes through ApplyForm.php but the response is always a "string" (the html page). Is it possible to return an xml instead? I've added: if($_GET['type'] == "flex"){ header ("content-type: text/xml"); echo "<registersuccess>yes</registersuccess>"; exit; } in the conditional: if ($this->PostBackValidated && $this->Applicant->UserID > 0) // Line 56, People.Control.ApplyForm.php but it's not working as expected :( any idea?
Sign In or Register to comment.