Re: Header() - POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stut,

Am 2008-09-05 17:11:58, schrieb Stut:
> You're trying to post to the browser which won't know how to handle  
> it. The header() function is modifying the response headers that are  
> being sent back to the browser, they do not create a new request.
> 
> If you want to do a new request I suggest looking at curl. If you  
> actually want the browser to make the new request the only way is to  
> return a hidden form and auto-submit it with JS. However, as someone  
> else pointed out if that second request is coming back to the same  
> server there probably isn't any need for a second request at all.

Why using JS?

    echo "<meta http-equiv=\"refresh\" content=\"0;" . $FULL_URL "\">";

would do the trick...

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

<<attachment: signature.pgp>>


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux