I'm not sure how to put this, but I need a way to find the URL of a request made to google translate through fopen().
Code: Select all
$handle = fopen("http://google.com/translate_t?langpair=".$langPair."&text=".$translateText."", "r");
$transPage = fread($handle, filesize("http://www.google.com/translate_t"));The page I request, as far as I know, cannot be reached again with that same URL because I tried using the same URL as the fopen() in the filesize() call and it did not work.
Any Ideas?
Thanks,
Rick