Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

escapeshellcmd escapeshellarg

Name: Anonymous 2009-04-08 17:13

php

Which do I have to use
between
escapeshellcmd and
escapeshellarg ?

Name: Anonymous 2009-04-08 17:30

php
php_nowyouhaveproblems(2)

Name: Anonymous 2009-04-08 17:33

PHP\Base\escape_ShellCmd();

Name: Anonymous 2009-04-08 17:35

escapeShell_CMD();

Name: Anonymous 2009-04-08 17:41

escapeshellcmd is a safer method

Name: Anonymous 2009-04-08 17:49

If only PHP had easily browsable online documentation somewhere.

Name: Anonymous 2009-04-08 17:53

unsafesexwithculver

Name: 1 2009-04-08 17:59

Thanks guys but
Can I have some reason why
escapeshellcmd is a bit safer than arg?

Name: Anonymous 2009-04-08 18:11

>>8
Posting is
Not done in
Haiku format

Name: Anonymous 2009-04-08 18:12

Actually you should use escapeshellarg. Its just that you're syntax is wrong. It should be
PHP\ZendEscape\PHP-Escape_shellArg();

Name: 2009-04-08 19:05

>>9

Why need hiaku?

OK, if you so want a hiaku, just take this

古池や
かわず飛び込む
水の音

Name: Anonymous 2009-04-08 19:22

>>9
take it all

Name: Anonymous 2009-04-08 20:54

>>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: 1 2009-04-10 14:31

And which do you use
when you wirte PHP code yourself?

Name: Anonymous 2009-04-10 14:49

>>14
EMACS

Name: Anonymous 2009-04-10 14:59

PHP - Primitive Homepage Programming

If you ever think about having PHP execute a shell command based on user input, you are DOOMED!

Name: Anonymous 2009-04-10 15:02

>>14
Write PHP code myself? Doesn't everyone use an ENTERPRISE-QUALITY PHP GENERATOR written in the Algorithmic Language Scheme?

Name: Anonymous 2009-04-10 15:03

Name: Anonymous 2009-04-10 15:13

>>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: Anonymous 2009-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.

Name: Anonymous 2009-04-10 15:50

Emacs isn't bad, once your used to it. Remember the fist time you used vi(m)? I bet you didn't immediately fall head over heels in love with it.

Name: Anonymous 2009-04-10 15:51

your

Name: Anonymous 2009-04-10 15:56

>>20
Sadly, the other options are even worse.

Name: Anonymous 2009-04-10 16:04

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.

Name: Anonymous 2009-04-10 17:24

/prog/snake

Name: Anonymous 2009-04-10 17:47

>>24
*grabs dick*

Name: Anonymous 2009-04-10 17:56

*grabs emacs*

Name: Anonymous 2009-04-10 18:07

M-x dick-grab

Name: Anonymous 2009-04-10 18:08

>>26
>>27
The truth is, after years of emacs usage, you are no longer aware of any difference between your dick and your emacs session.

Name: Anonymous 2009-04-10 18:12

>>29
As if there ever was a difference.

Name: Anonymous 2009-04-10 18:32

Name: Anonymous 2009-04-10 18:35

>>31
Don't try none of your snow crash tricks round here.

Name: Anonymous 2009-04-10 21:54

>>21
Back to /snowcrash/, Raven

Name: Anonymous 2009-04-11 2:42

>>31-33
SPAXHBTE

Name: Anonymous 2009-04-11 3:34

>>34
Same Person And Xarn Has Been Trolled Efficiently
NYJMUA

Name: Anonymous 2009-04-11 10:18

Stop brining in new acronyms with every other post. Not understanding what's going on highly disturbs me.

Name: Anonymous 2009-04-11 20:24

>>36
IWHWHTGTK

Name: Trollbot9000 2009-07-01 9:10


Myself python over the type like the  original at all  11 QT win32?

Don't change these.
Name: Email:
Entire Thread Thread List