Re: clean();
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60546
interpreted = N
texte = I just realized clean() is actually defined function in the book I'm reading. It usese two commands to "clean" the field: substr() and EscapeShellCmd().It uses substr() to limit the field (which I can mimic with [getchars]) and then it uses EscapeShellCmd(); to escape out unix commands so they can be passed to MySQL. I believe it's the equivalent of [url]ing search parameters, but I may be wrong on my interpretation.See:http://us2.php.net/manual/en/function.escapeshellcmd.phpOn Dec 20, 2004, at 11:38 AM, eLists wrote:> What does that function do? Maybe someone has done something similar > to it without knowing it duplicates a function in php. Just an > suggestion that may help you get a better response.-- Jesse Williams-ProudmanBlue Box Development :: Custom Web Solutions +1 (206) 347-0528 :: jesse@blueboxdev.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I just realized clean() is actually defined function in the book I'm reading. It usese two commands to "clean" the field: substr() and EscapeShellCmd().It uses substr() to limit the field (which I can mimic with [getchars]) and then it uses EscapeShellCmd(); to escape out unix commands so they can be passed to MySQL. I believe it's the equivalent of [url]ing search parameters, but I may be wrong on my interpretation.See:http://us2.php.net/manual/en/function.escapeshellcmd.phpOn Dec 20, 2004, at 11:38 AM, eLists wrote:> What does that function do? Maybe someone has done something similar > to it without knowing it duplicates a function in php. Just an > suggestion that may help you get a better response.-- Jesse Williams-ProudmanBlue Box Development :: Custom Web Solutions +1 (206) 347-0528 :: jesse@blueboxdev.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Jesse Proudman
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
FW: Shipping calculations (1997)
using showpage and showcart commands (1996)
Cart -> Date and Time (2004)
New Problem (1997)
question: webmerchant connection (1997)
PCS Emailer's role ? (1997)
PCS Frames (1997)
RE: 2nd WebCatalog2 Feature Request (1996)
Supported product? (2006)
BUG in [showif] using ^ (contains) (1997)
JS Question - Print (2007)
RE: Credit card processing - UK (1997)
Number of Open Databases (1998)
MacAuthorize and WebMerchant (1997)
[index] (1997)
Couple of techno questions (1999)
OT - FCKeditor (2005)
[WebDNA] HTTP Streaming -- impossible? (2010)
Page Counters? (1997)
Getting Total Quantity (1997)