Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parsing data from a input form

Status
Not open for further replies.

jmsci

IS-IT--Management
Sep 8, 2002
3
US
Hello Everyone!

I have been writing perl programs for about 6 months (so I'm still new to perl) on Unix. A client of mine decided to go NT with Lotus Domino, they installed active state perl on thier server. The program should work as follows:
1. enter the infor required on the form page, hit submit
2. User gets a response page acknowledging the form entry
3. user returns to the previous page & continues surfing.
4. An email is sent to the company with all the input fields that the user entered.

So, of course I had to change the mail protocol, but the script is no longer working correctly. Once you enter the info on the form & hit submit, you get a 404 error page, but in the address (url) of the browser is the .pl - if you highlight this & hit enter you will get the response page and an email wil be sent - but both the email & response are not carrying any of the information that the user enters from the form entry.

Is their something unique with perl on nt/domino?
Is the parsing different ?
Please assist - as I am ready to put my head through the monitor or use the desktop as a boat anchor!!!!
thanks!
 
LOL about the head through the monitor, I know that feeling. The only help I can think to offer would be for you to recheck all of your paths. In NT they must be of the form:

c:\\temp\\bin or c:/temp/bin

Instead of highlighting and hitting enter, can you hit "refresh" and get the page? This may provide a clue.

Of course, you should always use the -w option and it may point the way if you aren't using it.

Go a step further with "use strict;" and this will find even more potential problems.

Hope that helps.

MattMcGinnis
 
Thanks Matt -

But I found the problem, the NT admin. did not allow for method=post, but he did know till I asked him to check through the logs. Then he seen the error, chgd it so post would be allowed. And it worked fine.

Is there some way to change active state perl to give better messages? I have had that erro happen before, but the message was "method post not allowed".

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top