This is really weird. I have a textbox inside a form. On clicking the submit button, the content of the textbox gets posted to page2.php
If the textbox contains a text like
This is a sample url
https://maps.google.com/maps?q=karnataka+badminton+association+bangalore&ie=UTF-8&ei=w4_lUNWmJozjrAfSkYGYBA&ved=0CAsQ_AUoAA
Now when i hit submit, i am echoing the content in page2.php and this is what i get:
//echo $_POST['message'];
This is a sample url
https://maps.google.com/maps?q=karnataka
I am getting the message but the URL gets cut after the first '+'. Any ideas how to get this work ?
I even checked with firebug the POST request and there it correctly displays the complete url.
NEW EDIT: I am trying this with ajax now.