is there a way that i can run db.cgi to automatically just
/db.cgi?db=default&&uid=default&view_records=1&ID=*
when you go to
/db.cgi
what i did was created another db.cgi file, and i want it to run the first link showed when i type db2.cgi
?
can you set the variables within the cgi script? loking at the script i can see that it would happen around here, just not sure how to automatically set them
# Load the form information and set the config file and userid.
local(%in) = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = 'default');
thanks in advance
Jose
/db.cgi?db=default&&uid=default&view_records=1&ID=*
when you go to
/db.cgi
what i did was created another db.cgi file, and i want it to run the first link showed when i type db2.cgi
?
can you set the variables within the cgi script? loking at the script i can see that it would happen around here, just not sure how to automatically set them
Code:
# Load the form information and set the config file and userid.
local(%in) = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = 'default');
thanks in advance
Jose