Jump to content

[SOLVED] Can't remember this!? $_SERVER?


spamoom

Recommended Posts

I have a file called index.php (localhost/blabla/index.php), and my mind has just gone blank and I cant remember how to get the file path without the file info... for example I need to get

 

localhost/blabla/

 

I am sure it is using $_SERVER but which argument =/

 

Thanks

 

SpaM

Link to comment
https://forums.phpfreaks.com/topic/60510-solved-cant-remember-this-_server/
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.