Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: backtick ignores parameters

by krujos (Curate)
on May 20, 2002 at 19:03 UTC ( #167912=note: print w/ replies, xml ) Need Help??


in reply to backtick ignores parameters

OTMH, dont you need to give it %20 instead of a space between the params?


Comment on Re: backtick ignores parameters
Replies are listed 'Best First'.
%20
by unclepliny (Initiate) on May 20, 2002 at 19:17 UTC
    These are not URL-encoded parameters -- i am invoking the program internally, so the command gets sent to the webserver OS.
      A, Sorry if this sounds mean, I dont intend to be, but did you try it?
      B, I went back and checked out some old scripts. I had this problem as well a long time ago. I ended up using a question mark to between the params and that worked. I am not sure why exactly (darn this getting old thing). If any monks have some insight to the question mark thing I would be grateful.
      let this be a lesson to me to comment code better.

      update changed formatting...
      also, when you run things from the command line, the shell translates it first. I dont think it works the same way from inside the script. Agian please correct me if I am wrong.
      Thanks Josh
        Actually I did try after all :) , just to cover all angles -- tried every variation (with and without ?, with and without &, etc). No luck. You are apparently right about it working differently from within a CGI script ... (see responses below).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://167912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2015-07-29 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls