I am working on a program that prints out script varibles to an html. When
I run it from the command line I see the variable. When the web page
(cgi-script runs) it eats them and just prints blank lines.  An example
follows.

# this works
$ID=`id`
print "$ID"

#this doesnt
$STORE=`store_output.x output 34`
print "$STORE"

yes my path is right ... yes the permissions are right... yes apache is
running as the user to execute script.... yes i have 2 \n on the content
line. I even tried escaping the $ just prints out the address of the
variable as opposed to the value inside.

------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.

Reply via email to