php - What file is being accessed if there is a /? after the website address? -



php - What file is being accessed if there is a /? after the website address? -

this may sound stupid question, have know answer. have seen many sites utilize urls following: http://www.example.com/?p=1

what file beingness accessed? have used http://www.example.com/somepage.php?p=1. when "?" there itself, mean?

i have installed phplist handle email campaigns, , programme uses type of url subscribe page. cannot figure out page accessing though. see in action can go https://www.mylittleblackebook.com/lists/?p=subscribe&id=3.

thank in advance lite can shed on this.

it depends of web server use. if on apache, directoryindex property looking for.

here default value :

directoryindex index.html index.htm default.htm index.php index.php3 index.phtml index.php5 index.shtml mwindex.phtml

by default (ie. no page called, in example), apache search every file listed above in specified order, , utilize first 1 found.

parameters handled same way file name specified or not. default file used able read them.

php html url webaddress

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -