Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Proxyconnect - Custom integration question

legrandselegrandse
edited September 2011 in Vanilla 2.0 - 2.8
Hello,

I'm trying to integrate my application with proxyconnect plugin.
But in the doc, I don't understand this:

"About the response format:

The response is sent as plain text using the HTTP transport. It is not sent as an HTML page. The response should not include HTML tags such as <'html'>, <'body'>, etc.
A newline character, \n, is used as a record separator. Do not use the HTML line break tag,
.
The response should start at the beginning of the HTTP protocol's body section."

Can someone give me an example ?

Thanks in advance for your help ;-)




Tagged:

Answers

  • Options
    edited September 2011
    Here is part of my php code which (after authenticating the user on my own site using my pre-existing authentication code) displays the page output. Nothing else is output to the browser but this.

    if(!empty($_COOKIE['userid'])){

    echo "UniqueID=" .$_COOKIE['userid']
    ."\nName=" .$_COOKIE['username']
    ."\nEmail=" .$_COOKIE['useremail'];

    }
Sign In or Register to comment.