Let say my code file is code.php and I can access it by :
localhost/test/code.php
Now I want if I enter address bar:
localhost/test/code.php?someparameter
it will automatically
overwrite "someparameter" string to a dummyfile.txt.
Is it possible to do it that way ?
I know we can use :
$_SERVER['REQUEST_URI'];
to get URI but how could we add the param directly to the url and it still go to the same code file and process ??? I dont want to use java script here coz my server only support php.