Link to home
Start Free TrialLog in
Avatar of morsa804tons
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/text.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!
Avatar of frankky
frankky
Flag of Canada image

Why not simply go with PHP...
Avatar of morsa804tons
morsa804tons

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.
ASKER CERTIFIED SOLUTION
Avatar of Fero45
Fero45

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial