Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2016-02-14 04:22 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (457 votes), past polls