I want to post a whole page using ajax to php file to be parsed.
say the sources is `http://www.mysite.com/page-1.
now post this page (from <html> to </html>) to “parse-page.php”. and retrieve it with $_POST[‘document’].
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Considering you just want to post the data and ignore anything coming back from the php, this should work.
For more info:
http://api.jquery.com/jQuery.post/