|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have some problems with my method POST or ACTION on my html page, because my perl program doesn't get any parametr I wat to post. Can something be wrong with Apache? Or I need to change some options in Apache?
|
|
#2
|
|||
|
|||
|
Just an idea, if you're using CGI.pm and you have parameters in you action value, ie
<form method="post" action="/cgi-bin/script.pl?operation=dostuff"> AND you have form elements on the page, ie. <input type="text" name="username"> then CGI.pm WILL NOT get the operation=dostuff from the action value field. You'd need to do this instead. Code:
<form method="post" action="/cgi-bin/script.pl"> <input type="hidden" name="operation" value="dostuff"> <input type="text" name="username"> </form> anyways, hope that helped a little, wasn't sure exactly what your problem was so I took a guess. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Problems with method POST, or Apache |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|