>>8
Neither is safer than the other, they both escape the exact same things. The only difference is that escapeshellarg returns the string enclosed in single quotes, whereas escapeshellcmd just does the escaping1,2. References:
[1] http://php.net/escapeshellcmd
[2] http://php.net/escapeshellarg
Name:
12009-04-10 14:31
And which do you use
when you wirte PHP code yourself?
>>18
Emacs by itself is already wrong on so many levels, but mixing in PHP is like fucking yourself in the ass all night long, while sucking nigger cocks and eating shit.
Name:
Anonymous2009-04-10 15:29
>>19
Imagine a giant penis flying towards your mouth, and there's nothing you can do about it. And you're like "Oh man, I'm gonna have to suck this thing", and you brace yourself to suck this giant penis. But then, at the last moment, it changes trajectory and hits you in the eye. You think to yourself "Well, at least I got that out of the way", but then the giant penis rears back and stabs your eye again, and again, and again. Eventually, this giant penis is penetrating your gray matter, and you begin to lose control of your motor skills. That's when the giant penis slaps you across the cheek, causing you to fall out of your chair. Unable to move and at your most vulnerable, the giant penis finally lodges itself in your anus, where it rests uncomfortably for 4, maybe 5 hours. That's what using EMACS is like.
Imagine a giant penis flying towards your mouth, and there's nothing you can do about it. And you're like, "Oh man, I'm gonna have to hack this thing." And you brace yourself to hack this giant penis. But then, at the last moment, you M-: (REDIRECT-PENIS). You think to yourself, "Well, at least I got that out of the way." That's when the giant penis slaps you across the cheek, causing you to fall out of your chair. Trapped under your fallen chair with your rear exposed, the giant penis finally slides itself into your anus, where it rests uncomfortably. Gradually you become aware that your power level is growing, and after exactly four hours you realize that it is never leaving you. You summon the will to return to your Emacs session, finding the spirits of the computer are more responsive to your spells than you imagined possible. That's what using Emacs is.