how to enable cross domain POST-ing in PHP?
问题 I'm tying to send POST data from one site to another (both sites have been developed by us). The problem is that the POST variables are not available if the page is requested from another domain. Even if I test it locally, but specify the complete url, the POST data is gone. So, this will work: <form method="POST" action="test.php"> But this will not: <form method="POST" action="http://example.com/test.php"> Here is the HTML for the page: <html> <head> <title></title> </head> <body> <form