1832757 Members
3238 Online
110045 Solutions
New Discussion

cgi.pm problem

 
Brian Bierman
Occasional Contributor

cgi.pm problem

I am new to perl and I am trying to create a script that calls a login function then redirects the user to their destination if their login is successful. The problem is that my redirect just prints a message like "this page has moved to da da da" or just the requested url without actually redirecting the browser.

When I view source on the page, the header shows xml coding and not html. Is this the problem?

What am I doing wrong?