Thanks for your reply, but I can see a couple of potential problems with
this ;-
1) This relies on the user having javascript enabled in their browser
settings.
2) The page has to be fully loaded in the client browser before the redirect
takes place, this means it will perform more slowly than a server side
redirect.

Is this the only solution or are there other work-arounds ?

Thanks
Rick

Kai Hinkelmann <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Create a form only with hidden-fields (your values) and no visible fields
or
> buttons. The "action=" is set to the next file, the method ist set to POST
> (of course). Don't use php-header to redirect but javasript. If you want
to
> redirect immediately you can write "onLoad=document.forms[0].submit()" in
> the body tag. Else start a timer at onLoad and call submit() in the
> timer-function.
>
> Good luck
>
> Kai
>
>
> "Rick Horrix" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I want to POST variables from one php page to another without any user
> > interaction.
> > I can achieve this using header( "Location ...?var1=xx&var2=yy" )
passing
> > the vars like a GET, but I don't want the vars to be visible to the user
> in
> > the browser address field. Is it possible to do this.
> >
> > TIA
> > smartbloke
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to