Results 1 to 2 of 2
I am wondering what would be the equivalent to $0 for php
just to get a quick answer from someone who knows php, $0 is the shell scripting variable that ...
- 11-05-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 11
php and $0
I am wondering what would be the equivalent to $0 for php
just to get a quick answer from someone who knows php, $0 is the shell scripting variable that gets
the scripts name
- 12-01-2009 #2
The safest way to do it is:
Code:$phpself = basename(__FILE__);


Reply With Quote
