Jump to content

Finding current directory?


gwolgamott

Recommended Posts

OK stupid question time.... How do I find what directory I am in...

 

How can I do a test echo just to display a current directory.... i.e. can we say my main program is running

 

root/bob/temp/don 

 

how do I get that to display that?

 

For scope reason when reusing O.O. functions/programs/whatever....

 

so I can pass that variable to said Object I mean.

Link to comment
https://forums.phpfreaks.com/topic/190695-finding-current-directory/
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.