I am trying to use POST to transfer data to another page. When I do
this, '.' characters get converted to"_". For example:
#index.html:
<form action="test.ph p" method="post">
<input type="submit" name="filename. txt">
</form>
#test.php
<html>
<?php
var_dump( $_POST );
?>
</html>
This displays:
array(1) { ["filename_t xt"]= string(12) "Submit Query" }
ie 'filename.txt' is changed to 'filename_txt'
How can I stop this behaviour?
this, '.' characters get converted to"_". For example:
#index.html:
<form action="test.ph p" method="post">
<input type="submit" name="filename. txt">
</form>
#test.php
<html>
<?php
var_dump( $_POST );
?>
</html>
This displays:
array(1) { ["filename_t xt"]= string(12) "Submit Query" }
ie 'filename.txt' is changed to 'filename_txt'
How can I stop this behaviour?
Comment