Reply to Re: method="POST" changes '.' to '_'

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация