I need to get the json data from, http://vortaro.us.to/ajax/epo/eng/ + 'word'+ "/?callback=?" working example (not enough reputation)
I know how to do it in javascript, But I need my php file to get this data, It needs to be server side, Thanks I'm new I have spent all day trying to figure this out. fopen and fread isn't working,
<?php
$vorto = $_GET['vorto']; // Get the Word from Outer Space and Search for it!
if (isset($vorto))
{
echo $vorto;
} else {
$Help = "No Vorto -> add ?vorto=TheWordYouWant to the end of this website";
echo $Help;
}
$url1 = "http://vortaro.us.to/ajax/epo/eng/";
$url2 = "/?callback=?";
$finalurl= $url1 . $vorto . $url2;
/*
PLEASE HELP
$v1 = fopen($finalurl ,"r");
echo $v1;
$frv1 = fread($v1,filesize($v1));
echo $frv1 ;
*/
?>