Hello. We have created a test.php script that connects to the PSI Gate interface. When we run it from the Linux command line, (eg: php -q -f test.php) it runs fine. When we run it via the internet, it takes forever, and times out. The errors in the error log file are:
[19-Jun-2006 17:22:05] PHP Notice: Use of undefined constant APPROVED - assumed 'APPROVED' in /var/www/vhosts/domain.com/httpdocs/psigate_test/psigate_xml/class.psigate_xml.php on line 19
[19-Jun-2006 17:22:05] PHP Notice: Use of undefined constant DECLINED - assumed 'DECLINED' in /var/www/vhosts/domain.com/httpdocs/psigate_test/psigate_xml/class.psigate_xml.php on line 20
[19-Jun-2006 17:22:05] PHP Notice: Use of undefined constant ERROR - assumed 'ERROR' in /var/www/vhosts/domain.com/httpdocs/psigate_test/psigate_xml/class.psigate_xml.php on line 21
[19-Jun-2006 17:22:06] PHP Notice: Undefined index: ErrMsg in /var/www/vhosts/domain.com/httpdocs/psigate_test/psigate_xml/class.psigate_xml.php on line 456
[19-Jun-2006 17:22:06] PHP Notice: Undefined index: CardExpMonth in /var/www/vhosts/domain.com/httpdocs/psigate_test/psigate_xml/class.psigate_xml.php on line 463
[19-Jun-2006 17:22:06] PHP Notice: Undefined index: CardExpYear in /var/www/vhosts/domain.com/httpdocs/psigate_test/psigate_xml/class.psigate_xml.php on line 464
Does anybody know why this is?