hello,
I'm developping a php/pgsql application under netscape 4.61.
I have a problem with this URL (I know it's a large one)
The data have been insert into the database from a dos text file which has been convert to a unix one(dos2unix).
The URL is a valid one (no error message) but I don't arrive at the good place into my php script which look like that :
switch($casUtil){
case "myCase1":
switch($noEtape){
case 1:
break;
...
case n:
break;
}
break;
...
default:
...
break
}// end of main switch
Into my URL the value of casUtil and noEtap are goods
but i always arrive into the default case !
Moreover, where I insert into the database the same values, but from a formular (not from a text file) it works good, so I think it's not an algorithm problem.
There is my URL :
--------------------------------------
Me_Libelle=MODELEUR+%2F+MODELEUSE-MOULISTE&
Me_LibelleONISEP=MOULEUR-NOYAUTEUR+the+modification&
Me_PartieMetier=%09le+ROME+d%27apr%E8s+le+num%E9ro+d%27identifiant+45+421+%0D%0A++les++Aires+de+mobilit%E9+professionnelle++du+ROME%2C++%0D%0Ad%27apr%E8s+le+num%E9ro+d%27identifiant+45+421.+%0D%0A++le+site+http%3A%2F%2FMe_PartieFormation=%09le+site+http%3A%2F%2F
Me_PartieInsertionPro=%09+Pour+conna%EEtre+l%27%E9tat+du+secteur%2C++%0D%0Ahttp%3A%2F%2F
Me_PartieEnSavoirPlus=%09Informations+g%E9n%E9rales+%3A+%0D%0Ale+logiciel+documentaire+DOCPUB+%0D%0Ale+site+du+minist%E8re+de+l%27Industrie+%3A+%0D%0Ahttp%3A%2F%2F
Me_CodeNiveau=14&
Me_CodeDomaine=15&
Rmm_Mot1=combat&
Rmm_Mot2=abattage+viande&
Rmm_Mot3=abattage+viande&
casUtil=modifier_un_m%E9tier&
noEtape=3
---------------------------------------
I explode the URL to read it easier.
When I delet one of the four <TEXTAREA> it works good !
I think it's a special character wich bad escaped but i don't find it.
It could be another thing to. I don't know.
H.E.L.P. please
I'have already try to escape the <TEXTAREA> with the method escape() in javascript but it doesn't seem work better....
So....if you've got any ideaI will be pleased
I'm developping a php/pgsql application under netscape 4.61.
I have a problem with this URL (I know it's a large one)
The data have been insert into the database from a dos text file which has been convert to a unix one(dos2unix).
The URL is a valid one (no error message) but I don't arrive at the good place into my php script which look like that :
switch($casUtil){
case "myCase1":
switch($noEtape){
case 1:
break;
...
case n:
break;
}
break;
...
default:
...
break
}// end of main switch
Into my URL the value of casUtil and noEtap are goods
but i always arrive into the default case !
Moreover, where I insert into the database the same values, but from a formular (not from a text file) it works good, so I think it's not an algorithm problem.
There is my URL :
--------------------------------------
Me_Libelle=MODELEUR+%2F+MODELEUSE-MOULISTE&
Me_LibelleONISEP=MOULEUR-NOYAUTEUR+the+modification&
Me_PartieMetier=%09le+ROME+d%27apr%E8s+le+num%E9ro+d%27identifiant+45+421+%0D%0A++les++Aires+de+mobilit%E9+professionnelle++du+ROME%2C++%0D%0Ad%27apr%E8s+le+num%E9ro+d%27identifiant+45+421.+%0D%0A++le+site+http%3A%2F%2FMe_PartieFormation=%09le+site+http%3A%2F%2F
Me_PartieInsertionPro=%09+Pour+conna%EEtre+l%27%E9tat+du+secteur%2C++%0D%0Ahttp%3A%2F%2F
Me_PartieEnSavoirPlus=%09Informations+g%E9n%E9rales+%3A+%0D%0Ale+logiciel+documentaire+DOCPUB+%0D%0Ale+site+du+minist%E8re+de+l%27Industrie+%3A+%0D%0Ahttp%3A%2F%2F
Me_CodeNiveau=14&
Me_CodeDomaine=15&
Rmm_Mot1=combat&
Rmm_Mot2=abattage+viande&
Rmm_Mot3=abattage+viande&
casUtil=modifier_un_m%E9tier&
noEtape=3
---------------------------------------
I explode the URL to read it easier.
When I delet one of the four <TEXTAREA> it works good !
I think it's a special character wich bad escaped but i don't find it.
It could be another thing to. I don't know.
H.E.L.P. please
I'have already try to escape the <TEXTAREA> with the method escape() in javascript but it doesn't seem work better....
So....if you've got any ideaI will be pleased