PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
What i dont understand is, how do i use this in html forms. Lets say i have a form for submission to login.php. what should i write in the form? some thing like this
No offense, Eric, but I absolutely hate having files without an extension. What are they supposed to be? HTML? PHP? You can't know unless you open up each one. And when you do, there's no extension for the editor to guess how to display the file.
tasairis wrote:No offense, Eric, but I absolutely hate having files without an extension. What are they supposed to be? HTML? PHP? You can't know unless you open up each one. And when you do, there's no extension for the editor to guess how to display the file.
Well, I began paying attention to this when I noticed that most of the major sites such as google, ebay no longer use any file extension. So, i guess there must be some exceptionally good thing about this, which I dont know or may be, they use this to cover some thing which is undercover ,
First comes rewrite rules, aliases, etc. Then it tries serving /download (if it can't find "download" then it looks for "download.(set of file extensions Apache is aware of)") then /download/user=me, then /download/user=me/filename.zip.
Not having the extension in the URL makes it look cleaner. People not familiar with computers can remember "posting" as an action and not "posting.php" as a file. Blah blah blah other stuff.