When I pass this in Netscape:
<script language="javascript">
<!--
function envari(campo){
camp = campo.value; //camp = "Hi Boys"
var nw = window.open("modif.php?<?=SID?>&campo="+camp+"","Create","width=400,height=225,resizable=no,scrollbars=yes,status=yes");
if (!nw.opener) nw.opener=self;
if (nw.focus!=null) nw.focus();
}
-->
</script>
and in the page modif.php when I recover the variable $campo, if this variable had some spaces the values that return the diferent browsers are:
- Netscape: $campo = "Hi"
- Explorer: $campo = "Hi Boys"
I've consultated the global variables:
- Netscape:
$REQUEST_METHOD = "GET"
$QUERY_STRING = "&campo=Hi"
- Explorer:
$REQUEST_METHOD = "GET"
$QUERY_STRING = &campo=Hi%20Boys
I need that Netscape understand the spaces. Anyone knows the answer?
I'm clueless about how to solve it.
Thank you.