lhsths
02-05-2003, 03:57 PM
I am trying to extract the values from the query string from the previous cgi who has 2 values in a form ( name, address)
Below is the code that i did, which gives back the query but doesnt seperate them.
i cant see the problem. Can anyone please help me...
#!/bin/bash
echo "Content-type: text/html"
echo
echo "<H3> my $query </H3>"
echo "<H1> Hello World </H1>"
echo "<H3> from $SERVER_NAME </H3>"
echo "<H3> the names is $name </h3>"
echo "<H3> the names is $address </h3>"
echo "<H3> $query = $ENV{$QUERY_STRING}</h3>"
echo "<H3> the query is $QUERY_STRING and $query</h3>"
echo "<p>"
Thanks on advance...
Below is the code that i did, which gives back the query but doesnt seperate them.
i cant see the problem. Can anyone please help me...
#!/bin/bash
echo "Content-type: text/html"
echo
echo "<H3> my $query </H3>"
echo "<H1> Hello World </H1>"
echo "<H3> from $SERVER_NAME </H3>"
echo "<H3> the names is $name </h3>"
echo "<H3> the names is $address </h3>"
echo "<H3> $query = $ENV{$QUERY_STRING}</h3>"
echo "<H3> the query is $QUERY_STRING and $query</h3>"
echo "<p>"
Thanks on advance...