Hello to everyone out there!
I am Akke, and I’m a newbie developer, I know some VB, OK PHP, and OK JavaScript and some AJAX.
I’m working on a project that requires me to send stuff through an AJAX $_GET request to a PHP page which then echoes a string which then is fed back to the form on the first page.
So the GET url looks something like this:
[CODE]dataminer.php?question=kassasumma&q=500&kale=10%&nro=6
I have tried to escape that URL with various escaping methods including
[CODE]escape()
and
[CODE]encodeURIComponent()
but, with no luck. The server keeps giving me a 406 Not Acceptable and it’s because of the percentage sign (which is essential) in the url.
Does anyone of you kind sirs have any suggestions?
Sincerly,
Akke