Forum Moderators: coopster
The main server holds userid + hashed password
In order to get user information on another server I created a page that looks for form-parameters, does some security checking and then outputs the requested data in text format.
How do I send the post request to the Server? In coldfusion I can use cfhttp and add some parameter values, but in php all I found so far is fsockopen and then send everything with fputs. This works from php to php. But when I send the request with php to my main server (running coldfusion) I get a 400 (bad request error)
What would be the correct way to move the post parametes over? Thanks for any hints.
My recommendation would be to get it working fine within your own pages in a simple test first, then move on to requesting from your CF site pages.