lazy saunter

(personal learnings in computation)

Friday, October 06, 2006

form processing between 2 servers

if one server serves a form page and the processing logic lies on a second server-

server one posts to the URL of server two
action = "http://servertwo/process.php"

server two can do the processing, producing a status code possibly, and redirect back to the form page on server one
header ("Location: http://serverone/form.php?status=5");

easy but maybe not so secure.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home