Re: Form Post to different domain

From: Date: Tue, 14 Feb 2012 18:59:48 +0000
Subject: Re: Form Post to different domain
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-316608@lists.php.net to get a copy of this message
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@earthlink.net> 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


« previous php.general (#316608) next »