Posted by flamer die.spam@hotmail.com on 07/06/06 23:03
umm why dont you just (on the test.php page) do a str replace and
change the '_' back to a '.' ??
flamer.
Robert S wrote:
> 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.php" method="post">
> <input type="submit" name="filename.txt">
> </form>
>
> #test.php
> <html>
> <?php
> var_dump( $_POST );
> ?>
> </html>
>
> This displays:
>
> array(1) { ["filename_txt"]=> string(12) "Submit Query" }
>
> ie 'filename.txt' is changed to 'filename_txt'
> How can I stop this behaviour?
[Back to original message]
|