I am trying to develop a kind of Finance website. Basically, I want to obtain charts from stockcharts.com. And, I have realized that the url I was looking for would be:http://stockcharts.com/c-sc/sc?s={$_symbol}&p=D&b=5&g=0&i=0&r=0;I am a newbie and kinda like tried to obtain the result. So far, I have the following file called charts.php: \[code\]<?php// configurationrequire("../includes/config.php"); // if form was submittedif ($_SERVER["REQUEST_METHOD"] == "POST"){ // load suggestion data $data = http://stackoverflow.com/questions/15724410/@file_get_contents("http://stockcharts.com/c-sc/sc?s={$_POST['symbol']}&p=D&b=5&g=0&i=0&r=0"); $encoded = base64_encode($data); echo json_encode(['images' => $encoded]);}\[/code\]?> and the JavaScript, chart.js:$(document).ready(function() {\[code\]$('#form-quote').on('submit', function() { $.ajax({ url: 'suggest.php', type: 'POST', dataType: 'json', data: { image: $(this).val() }, success: function(response) { var suggestions = ''; for (var i in response.images) suggestions += '<img src="' + response.images.image + '">'; $('#chart').html(suggestions); return false;});\[/code\]});Now, what can I do to get the desired result? Thank you very much for your help.