Hi all

Based on descriptions in /urlhowto.php  -- Get it on your site,
I tried to redirect GET/POST data to a third page, say,

aaa.php ---> error.php ---> bbb.php
====
aaa.php:
    <form action="unknown.php" method="GET">
    ....
====
error.php:
    <?
    $QSTRING = $_SERVER['REDIRECT_QUERY_STRING'] ;
    ....
    Header("Location: bbb.php?" . $QSTRING) ;
    ?>
====
Everything goes right with GET method, but POST goes wrong in error.php:

The $HTTP_RAW_POST_DATA is lost.
The error.php page could not get the posted data.

Any idea ?

Regards,
CCJ

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

Reply via email to