submit to dir

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smartic
    New Member
    • May 2007
    • 150

    submit to dir

    I see many sites linking the action attribute of the form to dir not to a file ex: 'include/send/data' not 'include/send/data/data.php' how can i do that with php?
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Originally posted by smartic
    I see many sites linking the action attribute of the form to dir not to a file ex: 'include/send/data' not 'include/send/data/data.php' how can i do that with php?
    Maybe because the Directory they are submitting to has an index page? And maybe, just maybe, the index page is the default catching page? Therefore, it is possible there doesn't need to be index.php on the end because somehow the server knows to search for index.php/html and then catch it..?

    Maybe?

    Who knows...

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Hi.

      It is also possible that the site is using Apache's mod_rewrite module. It can be used to manipulate the URL so it looks completely different than it should be.

      Try to Google "Apache mod_rewrite" for more info on that.

      Comment

      Working...