is it possible to direct a page after a specified condition with some value or query. so that in the redirected page i can acess that particular value
Of course it is. Specify the appropriate arguments in the URL that you supply to header().
header('Location: http://www.google.com/search?q=redirect');
or you could do it another way and make up a form on the page and redirect the link to:
"javascript:this.document.FORM_NAME.submit();"
can the page be redirected to a specified frame
Like rob said with the form, add the variable "target=(framename)" to the form tag 🙂