Do you want to put your pants off and fart? you can see a piece of code written in this way $ site_url & nbsp; strtolower (. $ _ SERVER [HTTP_HOST]. substr ($ _ SERVER [PHP_SELF], & nbsp; 0, & nbsp; strrpos ($ _ SERVER [PHP_SELF], & nbsp; index. php) isn't it just a fart?
The code is written in this way.
$ Site_url = strtolower ('http ://'. $ _ SERVER ['http _ host']. substr ($ _ SERVER ['php _ SELF '], 0, strrpos ($ _ SERVER ['php _ SELF'], '/index. php ')). '/shop/index. php ');
Then I tried,
The same is true for removing the red part, but I don't know why he wants to take off his pants and fart.
$ Site_url = strtolower ('http ://'. $ _ SERVER ['http _ host']. substr ($ _ SERVER ['php _ SELF '], 0, strrpos ($ _ SERVER ['php _ SELF'], '/index. php ')). '/shop/index. php ');
------ Solution ----------------------
I don't know where you can see the code or what it really means.
But it's not a question of "getting off your pants and farting ".
Removed.
How can we say it is the same?