Using a slash to denote data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aktar
    New Member
    • Jul 2006
    • 105

    Using a slash to denote data

    In CodeIgniter you can do the following index.php/myfunction

    This then calls myfunction() and displays the output of that function.

    Can anyone help me understand how the forward slash (/) does the same job as the question mark (?)
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Originally posted by aktar
    In CodeIgniter you can do the following index.php/myfunction

    This then calls myfunction() and displays the output of that function.

    Can anyone help me understand how the forward slash (/) does the same job as the question mark (?)
    Is it not done through .htaccess?

    I mean the same way urls are changed from ?something=else into /something/else

    Regards

    Comment

    • aktar
      New Member
      • Jul 2006
      • 105

      #3
      well, codeigniter doesnt require any modification of .htaccess and it still works

      Comment

      Working...