Hi, I am looking for an solution for the following problem:
Originaly the .cfg file looks like this:
$db_dir_url = "http://www.mydomain.com/cgi-bin/resto2";
# URL of dbman.
$db_script_url = $db_dir_url . "/resto2.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/resto2.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/resto2.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/admin2.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/admin2.log";
# Full path and file name of the html routines.
require $db_script_path . "/master2.pl";
But I want to fetch the date from an different domain:
The following does not work.
$db_dir_url = "http://www.mydomain.com/cgi-bin/resto2";
# URL of dbman.
$db_script_url = $db_dir_url . "/resto2.cgi";
# Full Path and File name of the database file.
$db_file_name = "http://www.mydomain2.com/cgi-bin/resto2/resto2.db";
# Full path and file name of the counter file.
$db_id_file_name = "http://www.mydomain2.com/cgi-bin/resto2/resto2.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/admin2.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/admin2.log";
# Full path and file name of the html routines.
require $db_script_path . "/master2.pl";
Does anyone knew how I can solve my problem?
Sincerly Yours
Mark
Originaly the .cfg file looks like this:
$db_dir_url = "http://www.mydomain.com/cgi-bin/resto2";
# URL of dbman.
$db_script_url = $db_dir_url . "/resto2.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/resto2.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/resto2.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/admin2.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/admin2.log";
# Full path and file name of the html routines.
require $db_script_path . "/master2.pl";
But I want to fetch the date from an different domain:
The following does not work.
$db_dir_url = "http://www.mydomain.com/cgi-bin/resto2";
# URL of dbman.
$db_script_url = $db_dir_url . "/resto2.cgi";
# Full Path and File name of the database file.
$db_file_name = "http://www.mydomain2.com/cgi-bin/resto2/resto2.db";
# Full path and file name of the counter file.
$db_id_file_name = "http://www.mydomain2.com/cgi-bin/resto2/resto2.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/admin2.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/admin2.log";
# Full path and file name of the html routines.
require $db_script_path . "/master2.pl";
Does anyone knew how I can solve my problem?
Sincerly Yours
Mark