Re: How to work around FORM method="post" changing "." to "_" please?



In our last episode,
<1192371387.911013.31070@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
the lovely and talented william.hooper@xxxxxxxxx
broadcast on comp.lang.php:

Here is a manual... http://www.php.net/manual/en/ but it has no
chapter 65 and it looks quite long...

http://www.php.net/download-docs.php

Yes, it is several megs depending on format.

However, you should realize that many of your questions reveal that you do
not know HTML. The PHP manual will not teach you HTML.

If you had looked in your copy of your HTML dtd (this happens to be
4.01 strict, but you'll find something similar in your dtd)

<!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form -->
<!ATTLIST FORM
%attrs; -- %coreattrs, %i18n, %events --
action %URI; #REQUIRED -- server-side form handler --
method (GET|POST) GET -- HTTP method used to submit the form--

This should have told your that method defaults to GET.

I don't know if the PHP manual mentions this, but it isn't PHP's job to
teach you HTML.


For example, your latest question here was based on the theory that POST
will change periods to underscorces. POST does not do this. PHP does this
under certain circumstances and will also change space to underscores under
certain circumstances (because PHP variable names cannot contain periods or
spaces).

This does not pose a problem for most people because most people do not
expect to have both foo_jpg (no extension) and foo.jpg. Yes, if you do
have an image named foo_jpg (no extension) then some ambiguity could
result. But sane people do not name images foo_jpg (no extension).


--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 464 days to go.
What do you do when you're debranded?
.



Relevant Pages

  • Re: Authoring for browsers other than IE or Nav
    ... Windows XP SP 2 will not display the pages as HTML without having an extension. ... Thomas A. Rowe (Microsoft MVP - FrontPage) ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Securing .html pages using .NET Framework 2.0 on IIS 6.0
    ... This opens "Application Configuration" ... Click "Add" to add a new Application Extension. ... Type in ".html" into the "Extension" textbox. ... 8.Click "OK" until you are out of the properties window. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HTML Signature with Picture Logo
    ... www.mozilla.org Download the Mozilla suite and use Composer to edit your html file. ... Saving as a HTM file is not a problem. ... Even if the file is saved with the extension this can be changed by ... and paste it into a new Notepad window. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Authoring for browsers other than IE or Nav
    ... The frames page has an .html extension. ... extensions, therefore should display as text, if they display at all. ... IE incorrectly displays the pages as HTML pages. ... Is there a way to publish using FP so most browsers have ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: hidden ASPX behind HTML
    ... Thanks, the only problem is when I add the new setting for HTML, the OK ... > aspnet_isapi.dll (see the setting for .aspx extension to get the idea). ... > makes IIS to forward the file processing to ASp.NET. ...
    (microsoft.public.dotnet.framework.aspnet)