Is the form in a php script, or is it just in an html page?
Are you posting from
form.php -> validation.php
and want validation.php to send data back to form.php without doing a get?
Back in my perl days I would (any only if I was forced to do it as above, for say off site validation of cc#'ers):
within form.php write socket code (there are php libraries to accomplish this, though I dont recall them off hand, perhaps curl?) to perform a post against validation.php, validation.php will return a small set of data, in the case of credit card verification it would return an xml'ish document with result codes. This data is then available within form.php to be used at your convinence.
So:
form.php -- post's like a web browser would --> validation.php
validation.php -- outputs like a web server would --> result
form.php -- reads results like a web browser --> outputs html again
But, for something like validation couldnt you just use form.php and have it post back to itself?? That way all the data is in form.php, you just have an if statement to determine what data to output based on the validation.
Hope that helps, kinda complicated the first way. I would normaly for validation do it the second way.
Brian Cobb