Apr 7, 2002, 11:08 AM
Post #3 of 5
Good Idea, but I'm looking for something more reliable. I do have an idea that might work, but I need another answer to help it along.
Re: [kidd] Ampersand in Form Submissions
[In reply to]
I'm thinking of having one or both of two things happen. I could put an extra & in front of and at the end of each form field entry and then have it split on && instead of just &, and &= instead of just =. That would require redoing an incredible amount of html on several of my sites though, and some sites that aren't even mine! (I'm hosting the form cgi for those sites)
Another way would be to have the script only split it on an & that has no space directly after it, and on an = that has no space directly before it. I think that would eliminate at least 90% of the problem. However, I don't know how to accomplish this in the split function itself.
Can anyone show me some code that will accomplish this? :-)