morsa804tons
asked on
HTML passing textarea value to next page
hi!
i've got a form with a textarea inside it and want to pass all text inside textarea to an another page through submiting it. I've tried passing this like a normal parameter using GET method, but text inside textarea is normally composed of filepaths like "testdir/lalala/lelelele/t ext.txt" and when using this method, html parsing converts '/' to %2F and when i try to recover text from next page, my variable cuts abrutly when finds first "/" (f.ex. $TEXTAREA variable is testdir). How i can do it? is there any more eficient and/or elegant method for passing this kind of stuff inside a form?
Thanks in advance!
i've got a form with a textarea inside it and want to pass all text inside textarea to an another page through submiting it. I've tried passing this like a normal parameter using GET method, but text inside textarea is normally composed of filepaths like "testdir/lalala/lelelele/t
Thanks in advance!
Why not simply go with PHP...
ASKER
i can't use php, because i'm using an existing complex bash script and i'm readapting it...
Hai,
Instead of using GET you can use POST method to pass the text area value. So that you will face such issues. Please let me know if you have any queries.
Instead of using GET you can use POST method to pass the text area value. So that you will face such issues. Please let me know if you have any queries.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.