Guest_imported
New member
- Jan 1, 1970
- 0
I've never used CGI.pm. I used to have a nifty subroutine I wrote that did the functions I needed. Unfortunately, the new server I'm on doesn't like it.
What's the command to get form data from a page using CGI.pm?
My code looks like this:
###########################
use CGI;
$user = param('user');
$pass = param('pass');
###########################
Upon the line starting with "$user" the script just ends. No subsequent commands are done, and in a browser, all I get is a blank page. Any print statements before this point show up, and the script has been properly configured on the server.
What's the command to get form data from a page using CGI.pm?
My code looks like this:
###########################
use CGI;
$user = param('user');
$pass = param('pass');
###########################
Upon the line starting with "$user" the script just ends. No subsequent commands are done, and in a browser, all I get is a blank page. Any print statements before this point show up, and the script has been properly configured on the server.