andyfarang Posted October 3, 2013 Share Posted October 3, 2013 Imagine there is site www.some-free-dictionary.com. There's textarea and submit button. When you submit that form, you are redirected back at the same address, but it changed - there is translated text (and textarea and submit button). But that site is not mine and I want to my PHP script use this translator. First submit that form, after get content of new page. But I'm clueless with first two steps. How to submit that form with my data and how to get content of refreshed page (it's url doesn't change, you're redirected back)? Thank you //translator is example - suggesting using translator with free API is not a solution Quote Link to comment Share on other sites More sharing options...
Psycho Posted October 3, 2013 Share Posted October 3, 2013 What site is this? If the site is offering their functionality for others to use then they most likely have developed an API for it. If there is no API, then my guess is that the site doesn't want you to use their functionality for 3rd party sites. So, helping you would likely violate that sites ToS. Quote Link to comment Share on other sites More sharing options...
andyfarang Posted October 3, 2013 Author Share Posted October 3, 2013 http://nlp.fi.muni.cz/cz_accent/ Quote Link to comment Share on other sites More sharing options...
andyfarang Posted October 3, 2013 Author Share Posted October 3, 2013 SOLVED. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.