What does the output look like on the command line? It doesn't have <> tags
round it by any chance??
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 26 June 2001 16:49
To: [EMAIL PROTECTED]
Subject: ok silly question
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.
--------------------------Confidentiality--------------------------.
This E-mail is confidential. It should not be read, copied, disclosed or
used by any person other than the intended recipient. Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful. If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.