Monday 23 December 2002 1:51:42 am
> > > It seem like there's something wrong with your PHP
> > > installation, could you try this script I made and see
> if
> > it
> > > removes characters there as well. > > > http://ez.no/filemanager/download/517/posttest.zip
Jan, having dl'd and test run your script, here's the results:
First run. Script shows, "Enter some text in the input fields and click the button", followed by 3 empty input fields, followed by this:
array(2) {
[0]=>
bool(false)
[1]=>
bool(false) } I entered the following: "this", "is", "extraordinary" (each string into its own input field, in this order) and clicked Submit.
Script now shows, "Enter some..." (same as above), followed by "Input was read" (bolded), followed by the 3 input fields, filled with "this", "is", "aordinary" and the submit button, and followed by this:
array(2) {
[0]=>
string(2) "is"
[1]=>
string(9) "aordinary" } Then I ran a second test, this time with the input values "extraordinary", "is", "this".
This prints the following array:
array(2) {
[0]=>
string(2) "is"
[1]=>
string(0) "" } I find this weird and I don't know at all what this means. But since input field #3 uses to "swallow" the first four characters it looks very much like you're on the right track!! Looking forward to hearing from you again, Jan. Thanks a lot so far. --Michael
|