php website url matching question

Posted by jj on Stack Overflow See other posts from Stack Overflow or by jj
Published on 2010-04-27T19:34:12Z Indexed on 2010/04/27 19:43 UTC
Read the original article Hit count: 288

Filed under:
|
|

hi,

i am new to a php site, only familiar with .net web forms sites.

i can't figure out how routing is working on this php site.

www.oursite.com/suggestions.php is to suggestions.php
www.oursite.com/suggestions also loads the php fine
www.oursite.com/suggestions/ loads the php, but no css is applied
www.oursite.com/suggestions/anything - anything that comes after the '/' is ignored and suggestions is loaded without css. so oursite.com/suggestions////// works, as does oursite.com/suggestions/2/2/2/2/whatever

i have searched but not found any good explanation on how this is working. can someone explain or provide a good resource?

thank you.

© Stack Overflow or respective owner

Related posts about php

Related posts about url