Re: How can I remove slashes?

From: Date: Wed, 02 Aug 2000 00:00:33 +0000
Subject: Re: How can I remove slashes?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9604@lists.php.net to get a copy of this message
This worked! Thanks. Out of curiosity, are there any security issues that I should be aware of? From what I understand, The EscapeShellCmd() function is in there so that someone can't come into your web page and slip the shell you're executing some odd stuff to help them crack in. Does stripslashes() undo any of this? Thanks for the help. Matt On Tue, 1 Aug 2000, r a n d y wrote: > stripslashes("your code here"); > > > randy > ______________________________________________ > http://www.randys.org > http://www.iduh.com > http://www.digifont.com > > For-pay Internet distributed processing. > http://www.ProcessTree.com/?sponsor=11087 > > > From: Matt Rossiter - Verio Southern California <matt@veriosc.com> > > Date: Tue, 1 Aug 2000 14:52:56 -0700 (PDT) > > To: php-general@lists.php.net > > Subject: [PHP] How can I remove slashes? > > > > Is there anyway to easily remove the slashes? > > > > Here's the code I use. > > > > > > <? > > if ($whoistarget) { > > echo "<pre>\n"; > > system (EscapeShellCmd("/usr/bin/whois -h $whoistype > > " . "'$whoisoption " . "$whoistarget'")); > > echo "</pre><br><br>\n"; > > } > > ?> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#9604) next »