I am currently using an Iframe to display a source from another domain on my page.
I was wondering if there was a better solution with Cakephp?
Is it possible to display a site from another domain with php or ajax-jquery?
Thanks in advance
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.
With php, you can try to use
file_get_contentshttp://php.net/manual/function.file-get-contents.php
With ajax that is difficult because you can’t make a request in ajax to an other domain but if you is the owner, you can use the special header
Access-Control-Allow-Origin