Welcome! Log In Create A New Profile

Advanced

[PHP] -help

Posted by devta singh 
devta singh
[PHP] -help
October 22, 2008 05:00AM
--
---------------------
Devta Singh
http://yogakundalini.com/
http://devta.wordpress.com/
Nada hay como ver despertar a otros y verles expandir su conciencia, salvo
hacerlo uno mismo.
David Robley
[PHP] Re: -help
October 22, 2008 11:00AM
devta singh wrote:

-help: invalid argument



Cheers
--
David Robley

I used to have a handle on life, then it broke.
Today is Setting Orange, the 3rd day of The Aftermath in the YOLD 3174.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeti
Re: [PHP] Re: -help
October 22, 2008 11:40AM
>-help: invalid argument

I like the way you handle input errors in your php-general subroutines David.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Moore
Re: [PHP] Re: -help
October 22, 2008 03:10PM
Yeti wrote:
>> -help: invalid argument
>
> I like the way you handle input errors in your php-general subroutines David.

I don't. It says nothing about what a valid argument is. Horrible
newsgroup coding, imo. I wouldn't be surprised if he has
register_globals on.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeti
Re: [PHP] Re: -help
October 22, 2008 04:35PM
Well maybe it is because he has register_globals on why he is not
printing a list of valid arguments.

imagine something like this ..

@php-generals$ [PHP] -help
List of valid arguments:
-c, --make-me-forget erases the built-in mainframe's short term memory
-f, --flush-me erases the entire memory of the built-in mainframe
-h, --help prints this list
-s, --show-bank-data prints the bank account data
-u, --user username for login
-p, --password passphrase for login
@php-generals$ [PHP] -u ' "; return true;' -p ' "; shell_exec('su god');' -s -c
Login successful!
Welcome to the built-in mainframe god.
--- Bank account data ---
***** ***** * ******** ******
**** ** ******** ** ** ******
******** *** *** *******
-----------------------------------
[email protected]$ dd if=/dev/zero of=/dev/sda; exit;

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Rixham
Re: [PHP] Re: -help
October 22, 2008 08:00PM
Yeti wrote:
> Well maybe it is because he has register_globals on why he is not
> printing a list of valid arguments.
>
> imagine something like this ..
>
> @php-generals$ [PHP] -help
> List of valid arguments:
> -c, --make-me-forget erases the built-in mainframe's short term memory
> -f, --flush-me erases the entire memory of the built-in mainframe
> -h, --help prints this list
> -s, --show-bank-data prints the bank account data
> -u, --user username for login
> -p, --password passphrase for login
> @php-generals$ [PHP] -u ' "; return true;' -p ' "; shell_exec('su god');' -s -c
> Login successful!
> Welcome to the built-in mainframe god.
> --- Bank account data ---
> ***** ***** * ******** ******
> **** ** ******** ** ** ******
> ******** *** *** *******
> -----------------------------------
> [email protected]$ dd if=/dev/zero of=/dev/sda; exit;

omfg it works

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login