I scratched my head for weeks with this problem untill I found a discussion
on this in the archives.

It seems that a post-form MUST be executed from the client side.
Here is the start of the discussion:
http://marc.theaimsgroup.com/?l=php-general&m=97614760211168&w=2

So... It has to be done with JavaScript...

Just a tip:
Check out the cURL-functions in the manual.
They do the stuff that the Post-to-Host does, but much much more...

Regards,
// Tobias Talltorp


""Boget, Chris"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> After hours of searching :/ I was able to find Rasmus'
> PostToHost() function.  It's working fine, for the most
> part.  It's posting to the page and printing what it gets
> back as part of the page/code that calls the function.
> This is most likely expected behavior, just not what I
> expected.
> However, I'm curious if there is a way to POST data to
> a page WHILE redirecting the browser to that particular
> page.  You can do this, _sort of_, client side with JavaScript
> (OnClick = document.form.submit();)  I'm wondering
> if there is a way you can do this server side with PHP?
>
> Thanks.
>
> Chris
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to