Jump to content

$_SERVER['PHP_SELF'] help..?


unsider

Recommended Posts

K, let's assume that i am currently using

 

example.com/main/index.php

 

as my index page.

 

If I call

$_SERVER['PHP_SELF']

 

It returns

 

example.com/main/index.php/.....

 

correct?

 

Well is it possible to load just

 

example.com/ as opposed to the full filepath

 

from this?

 

Is so, how?

Link to comment
https://forums.phpfreaks.com/topic/96081-_serverphp_self-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.