[PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?
Did anybody have the same error? I have this simple script: === ? session_start() ; ? FORM METHOD=POST NAME="form1" ENCTYPE="multipart/form-data" ACTION="another_script.php" SELECT NAME="sel" onChange='hidden_filed.value=this.value3" OPTION VALUE=1 First option /SELECT INPUT TYPE=HIDDEN NAME="hidden_field" VALUE=0 on a computer the output is perfect, on the second computer, there is a strange error, I've ever seen in my life! the output on the second computer, in the 'select' line, is this: SELECT NAME="sel" onChange='hidden_filed.value=this.value 3" as you can see, there is a space between the two " ", and some times there it show some garbage between those two " " . this only disappears when I remove the " session_start " statement! ANY IDEA, PLEASE?!.. I am loosing many our and cannot figure out how to fix that!.. I need sessions, I cannot just give it up! the first computer is a Pentium II, on linux RH 6.1 with apache-1.4.13+modssl-2.7.1-1.3.14 (+opensll-0.9.6) +php-4.0.1pl1 and it's working just fine! but... the second computer is Pentium III on linux RH 7.0, same configuration, but with php-4.0.1pl2, (purchased!!!...) and it does yeld that error. I tried with the php-4.0.1pl1 (as with the first computer) but curiously... it does act the same wrong way.. it seems to be something about sessions, but independently of the php version... I compiled the apache server with the 'public' UID, 'guest' GUID, and they are present in my linux user and group list. the session does actually write any info correctly. (i tried a session_register('blabla') and it works)... the error only disappears when I remove the " session_start " statement! ANY help or idea would be greatly appreciated! thanx, Daniel BI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?
correct: we are PHP developers, not JavaScript. However, I am sure that the amount and configurations of your computers don't matter here. try to look for a simple problem. Try to rewrite it all again, etc... not a big deal - don't hit your head to the wall. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Daniel BI [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 7:12 PM To: PHP digest Subject: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER? Did anybody have the same error? I have this simple script: === ? session_start() ; ? FORM METHOD=POST NAME="form1" ENCTYPE="multipart/form-data" ACTION="another_script.php" SELECT NAME="sel" onChange='hidden_filed.value=this.value3" OPTION VALUE=1 First option /SELECT INPUT TYPE=HIDDEN NAME="hidden_field" VALUE=0 on a computer the output is perfect, on the second computer, there is a strange error, I've ever seen in my life! the output on the second computer, in the 'select' line, is this: SELECT NAME="sel" onChange='hidden_filed.value=this.value 3" as you can see, there is a space between the two " ", and some times there it show some garbage between those two " " . this only disappears when I remove the " session_start " statement! ANY IDEA, PLEASE?!.. I am loosing many our and cannot figure out how to fix that!.. I need sessions, I cannot just give it up! the first computer is a Pentium II, on linux RH 6.1 with apache-1.4.13+modssl-2.7.1-1.3.14 (+opensll-0.9.6) +php-4.0.1pl1 and it's working just fine! but... the second computer is Pentium III on linux RH 7.0, same configuration, but with php-4.0.1pl2, (purchased!!!...) and it does yeld that error. I tried with the php-4.0.1pl1 (as with the first computer) but curiously... it does act the same wrong way.. it seems to be something about sessions, but independently of the php version... I compiled the apache server with the 'public' UID, 'guest' GUID, and they are present in my linux user and group list. the session does actually write any info correctly. (i tried a session_register('blabla') and it works)... the error only disappears when I remove the " session_start " statement! ANY help or idea would be greatly appreciated! thanx, Daniel BI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?
Do you enable trans-sid? What happen if you disable it? (There are several trans-sid related bugs are fixed since 4.0.1, I think.) Regards, -- Yasuo Ohgaki ""Daniel BI"" [EMAIL PROTECTED] wrote in message 002201c0cd70$2f8d6240$02001aac@adsl">news:002201c0cd70$2f8d6240$02001aac@adsl... Did anybody have the same error? I have this simple script: === ? session_start() ; ? FORM METHOD=POST NAME="form1" ENCTYPE="multipart/form-data" ACTION="another_script.php" SELECT NAME="sel" onChange='hidden_filed.value=this.value3" OPTION VALUE=1 First option /SELECT INPUT TYPE=HIDDEN NAME="hidden_field" VALUE=0 on a computer the output is perfect, on the second computer, there is a strange error, I've ever seen in my life! the output on the second computer, in the 'select' line, is this: SELECT NAME="sel" onChange='hidden_filed.value=this.value 3" as you can see, there is a space between the two " ", and some times there it show some garbage between those two " " . this only disappears when I remove the " session_start " statement! ANY IDEA, PLEASE?!.. I am loosing many our and cannot figure out how to fix that!.. I need sessions, I cannot just give it up! the first computer is a Pentium II, on linux RH 6.1 with apache-1.4.13+modssl-2.7.1-1.3.14 (+opensll-0.9.6) +php-4.0.1pl1 and it's working just fine! but... the second computer is Pentium III on linux RH 7.0, same configuration, but with php-4.0.1pl2, (purchased!!!...) and it does yeld that error. I tried with the php-4.0.1pl1 (as with the first computer) but curiously... it does act the same wrong way.. it seems to be something about sessions, but independently of the php version... I compiled the apache server with the 'public' UID, 'guest' GUID, and they are present in my linux user and group list. the session does actually write any info correctly. (i tried a session_register('blabla') and it works)... the error only disappears when I remove the " session_start " statement! ANY help or idea would be greatly appreciated! thanx, Daniel BI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?
Daniel BI wrote: Did anybody have the same error? I have this simple script: === ? session_start() ; ? FORM METHOD=POST NAME=form1 ENCTYPE=multipart/form-data ACTION=another_script.php SELECT NAME=sel onChange='hidden_filed.value=this.value3 Maybe it's just typo, but line above should be: SELECT NAME=sel onChange=hidden_field.value=this.value3 -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]