|
Posted by Andy Hassall on 07/06/06 22:49
On 6 Jul 2006 15:34:38 -0700, "Robert S" <robert.spam.me.senseless@gmail.com>
wrote:
>> >I am trying to use POST to transfer data to another page. When I do
>> >this, '.' characters get converted to"_". For example:
>> >
>> You'd have to patch PHP.
>>
>
>Thanks for the speedy answer.
>
>Is there another way? I'm using debian on a work PC and am extremely
>reluctant to do any patching.
If you're brave, then there's $HTTP_RAW_POST_DATA, but since you'll then have
to do your own POST-data decoding then beware of getting it wrong.
Just going back to your original post:
> <form action="test.php" method="post">
> <input type="submit" name="filename.txt">
> </form>
Are you committed to this layout? "filename.txt" can exist fine as a value,
it's just as a name it's a problem. Can you not send the filename over as a
value in an input type=hidden field, for example?
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|