123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|641|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> PHP run location

Fri, 31 Aug 2007, 18:26
HoboBen
Hi,

I can't find the command, and I've lost my PHP book somewhere in my room.

How do I find the location of where a script is running from?

For example, if this was a PHP code,


Thanks.

-=-=-
blog | work | code | more code
Fri, 31 Aug 2007, 18:40
svrman
getcwd()?
Fri, 31 Aug 2007, 18:53
HoboBen
Thank you, that looks like it