Re: Form Post to different domain

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

 



Thanks Dan.

As it turned out the reason for not showing the passed values is that I didn't have "www" in the destination address and the values must have been getting lost when Apache redirected requests without www to the fully formed URL.


 --Rick


On Feb 14, 2012, at 1:39 PM, Daniel Brown wrote:

On Tue, Feb 14, 2012 at 13:36, Rick Dwyer <rpdwyer@xxxxxxxxxxxxx> wrote:

I only have access to domain B... the one receiving the Form POST.

   Then all you should need to do is:

       a.) Verify that Domain A is indeed pointing to Domain B, to
the script you expect, as a POST request.
b.) In the POST-receiving script on Domain B, try this simple snippet:

<?php
echo '<pre>'.PHP_EOL;
var_dump($_POST);
die('</pre>');
?>

   That should give you all data from the post request.

--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/

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



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



[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