Click to See Complete Forum and Search --> : Please save my webserver from hammer attack!


nuthead
06-13-2003, 04:06 PM
I have a script that builds a midi file from a text string. If i give it the text string as a variable in the script it works and plays the compiled midi file. If I get the script to use the data submitted by a text box it comes up with an error.

I know that the data from the text box is being passed properly and I can get the script to echo the data passed and it all looks perfectly fine. I'm assuming you are all as confused as I am after my dreadful description but any ideas will be greatfully appreciated!

gsb
06-13-2003, 06:30 PM
Compare the text that works as a string and the text that you are getting from a form submit.

You will probably see differences like blanks replaced w/ '+' etc...

nuthead
06-14-2003, 11:56 AM
I've checked that, not a single difference as far as i can see! No spaces atr the start or end, no extra or url-encoded characters, nothing!

grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr :mad:

svenicsale
06-14-2003, 12:58 PM
Maybe t is word wrap or download some program that compares two TXT files...

nuthead
06-14-2003, 01:08 PM
It's not a wrapping problem, i think my webserver is just out to get me!

*goes off in a corner and cries*