Hello i need to retrieve page source from site1.com to site2.com
I tried file_getcontents of php but my site is dynamic and unique for each users.
so i need to request page source using JAVASCRIPT
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.
You can not do it because of the same origin policy unless the page and browser supports CORS.