You'd have to run it to see what is shows on your system.sheila wrote:What does this show?Code: Select all
print_r($_SERVER['argv']);
Global's work in http but not in ssh....
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
I've run it on my system and it prints the name of the script. My question was to the OP.arborint wrote:You'd have to run it to see what is shows on your system.sheila wrote:What does this show?Code: Select all
print_r($_SERVER['argv']);
Does it show the script name for him?
Edit: Actually that prints the array of arguments. The script name is in $_SERVER['argv'][0]