Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Calling a radio button to the second cgi script

by bitingduck (Friar)
on Jun 12, 2012 at 04:45 UTC ( #975689=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Calling a radio button to the second cgi script
in thread Calling a radio button to the second cgi script

If you can get access to the server logs you can see what's values are being sent to the server. You'll probably see what kcott suggested-- that the values being sent are just the first word of the value. When I copied your html with the radio buttons and viewed the source in a browser (Firefox), it interpreted the first word of each as the value and ignored the second.


Comment on Re^3: Calling a radio button to the second cgi script
Re^4: Calling a radio button to the second cgi script
by Anonymous Monk on Jun 12, 2012 at 06:17 UTC

    If you can get access to the server logs you can see what's values are being sent to the server

    No you can't, servers don't log that stuff unless you add it yourself, and its mostly a waste of space

      My hosting server logs include all the parameter lists in the requested URLs by default. It doesn't take that much space.

      Update: The default apache install on OS X will also show the parameter list in the log if you change the POST to a GET. You don't want to leave it that way, but it can be useful for debugging. It indeed sends only one word values, as pointed out in several replies now.

        My hosting server logs include all the parameter lists in the requested URLs by default. It doesn't take that much space.

        Update: The default apache install on OS X will also show the parameter list in the log if you change the POST to a GET. You don't want to leave it that way, but it can be useful for debugging. It indeed sends only one word values, as pointed out in several replies now.

        Sounds like a lot of wasted physical and mental effort

        The OP has perl cgi program that compiles and runs -- time to stop fooling around with webserver configuration and logfiles and start debugging the application.

        Simply call DebugCGI and read the webpage

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (16)
As of 2014-07-11 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (232 votes), past polls