I am originally a java programmer but I need a very basic PHP script that will record the text given from the link to a .txt file(or an alternative) .
Such as
In java
String url = http://www.mywebsite.com/recorder.php?=
String stringToRecord = blablabla
String websitetovisit = url + stringToRecord
Then I'd just make the java application inquire that link and the script would add the string after ?= in a txt file.
But I have literally no experience in PHP.
How do I accomplish this? I have tried reading some PHP tutorials but I still don't have the slightest idea about this.
EDIT:
Let's say that there's the website www.mywebsite.com and there's a file in it, recorder.php
What recorder.php does is gets the string IN the link after the ?= and pastes it in a local .txt file.
So basically
www.mywebsite.com/recorder.php?=this_is_a_test
Would parse
this_is_a_test
into a local .txt file.
This is what I am trying to accomplish.