Problem loading content from remote site
Hi, I Have a problem loading content from remote site into my site with load function. Images and links don't works. Any solutions please? Here is my code:
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title></title>
- <link rel="stylesheet" type="text/css" href="http://www.hyundai.si/_tpl/_css/master.css?50">
- <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
-
- <script>
- $(function(){
- var contentURI= 'http://www.hyundai.si/ponudba/ceniki #rCorporate';
- $('#response').load('grab.php?url='+ contentURI);
- });
- </script>
- </head>
- <body>
- <div id="response"></div>
-
-
- </body>
- </html>
- php code: <?php echo file_get_contents($_GET['url']); ?>