Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _____ _____ _ _____ _____ _____ _____ _____ _____
- ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
- |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
- |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
- |s C R i P T z - T E A M . i N F O|████████████████████████████
- - iNfO -
- [PHP] USiNG ARGV iN CLi
- - NOtIcE -
- Create new file, call it index.php, and as content paste this into it:
- <?php
- echo "My name is ".$argv[1];
- ?>
- Run via ssh console:
- php ./index.php sCRiPTz
- Output will be:
- Hello my name is sCRiPTz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement