Jump to content

[SOLVED] Get dir name?


twofivethreetwo

Recommended Posts

Here is the setup. You visit http://teamname.domain.com which redirects to www.domain.com/teamname

 

I need to get the folder name (teamname) into a variable in php. How would I do this? not the full path or anything like that. Basically the folder name is the name that I need to get info from the sql database.

Link to comment
https://forums.phpfreaks.com/topic/77518-solved-get-dir-name/
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.