Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

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


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

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.


Comment on Re^5: Calling a radio button to the second cgi script
Re^6: Calling a radio button to the second cgi script
by Anonymous Monk on Jun 12, 2012 at 08:25 UTC

    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

      tail -f /var/log/apache2/access_log

      And you can watch what the webserver is receiving. Hardly effort, and often useful.

        tail -f /var/log/apache2/access_log

        And you can watch what the webserver is receiving. Hardly effort, and often useful.

        Not really

        • assumes a shell
        • assumes aforementioned changes to html file
        • assumes aforementioned changes to cgi file
        • requires a human to interpret raw URLs with his mind

        If OP was able to do all this when you suggested it, then the OP wouldn't need help debugging this

        Basically its bad advice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-07-29 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls