Re: Form Post to different domain

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

 



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/

Why the '.PHP_EOL' ?

I've never seen that before and looking through the PHP documentation doesn't give me much.

Cheers,

tedd


_____________________
tedd@xxxxxxxxxxxx
http://sperling.com

-- 
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