|
Posted by laredotornado@zipmail.com on 06/30/07 20:03
Hi,
My hosting company says they have error reporting enabled, but when I
visit the following page, I get a blank page with no output sent to
the browser. It works on my dev environment, though. Here is the
code
<?php
$fingerprint = hmac ("abcdef", "12345" . "^" . "99999" . "^" .
"2394234" . "^" . "25" . "^" . "USD");
print $fingerprint;
function hmac ($key, $data)
{
return (bin2hex (mhash(MHASH_MD5, $data, $key)));
}
?>
The hosting company is using php 4.4.7 and the configure command is
below. However, there is an error somewhere since nothing is returned
to the browser. How would you troubleshoot this? - Dave
Command './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--
with-mysql=/usr/local/mysql' '--with-gd' '--with-mhash=/usr/local' '--
with-mcrypt=/usr/local' '--with-dom=/usr/local' '--with-iconv=/usr/
local' '--with-curl=/usr/local' '--with-gettext=/usr/local' '--with-
png-dir=/usr/local' '--with-zlib-dir=/usr/local' '--with-jpeg-dir=/usr/
local' '--with-tiff-dir=/usr/local' '--with-freetype-dir=/usr/local'
'--enable-gd-native-ttf' '--enable-debug=no' '--enable-magic-
quotes=yes'
[Back to original message]
|