|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: c jones (ojnes33_at_yahoo.com)
Date: Thu Nov 14 2002 - 12:10:32 CST
Hi,
I have found the line below in an sh cgi program, and
believe I can pass a command to the shell but can't
seem to get it to work right. No matter what I try as
the HTTP_USER_AGENT it interprets it as a string in
the echo command & I can't get it to break it into a
new command. Nothing is done to HTTP_USER_AGENT before
this line...it's just reading it directly from the
environment.
Any help you may have is very much appreciated.
Thanks
ua=`echo "$HTTP_USER_AGENT" | sed "s#\;##g"`
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]