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_MD 5, $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' 1 1473 la***********@z ipmail.com wrote:
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_MD 5, $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'
What does phpinfo() show? That's much more important than the config
command.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== === This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dave |
last post by:
Hello,
Is there a tutorial or a howto on getting mhash compiled in with php4?
Thanks.
Dave.
|
by: dave |
last post by:
Hello,
Does anyone have experience with mhash? I've got a situation where i
have to "create an mhash module and load it in to php" which is apparently
not what i thought it was, recompiling php with mhash support. If anyone has
done this please get back to me.
Thanks.
Dave.
|
by: dave |
last post by:
Hello,
I'm really hoping someone can help here, i am very frustrated on this
issue. If this were my linux box i'd commit myself for insanity, this setup
is so frustrating!
Ok, done rambling, Linux box, rh version unknown, apache 1.3.27 with
frontpage extensions, php 4.3.0, and i'm trying to install mhash. I was
informed this is occurring in a vdp environment whatever that is, and so i
compiled and installed mhash thinking apache and php...
|
by: Jim Bancroft |
last post by:
Hi everyone,
I'm running into a problem with my ASP.Net application. I've just created a
new aspx page which uses some new components of mine that inherit from
ServicedComponent and are designed to run under COM+.
This page works fine, unless I get fancy and hit my browser's refresh button
quickly, as a test. Then, what I see happen is the transactions pile up and
my ASP.Net "current requests" do the same. This happens even with two...
|
by: Daniel Walzenbach |
last post by:
Hi,
I have a web application which sometimes throws an “out of memory”
exception. To get an idea what happens I traced some values using performance
monitor and got the following values (for one day):
\\FFDS24\ASP.NET Applications(_LM_W3SVC_1_Root_ATV2004)\Errors During
Execution: 7
\\FFDS24\ASP.NET Apps v1.1.4322(_LM_W3SVC_1_Root_ATV2004)\Compilations
| |
by: E. Recio |
last post by:
Long story short. I want to use Mac OS/X and PHP. I have a db with
passwords stored under Linux using the crypt("foo", "$1$".$salt."$);
scheme. This means that crypt should execute a CRYPT_MD5 password hash.
I know that Mac OS/X only supports the two DES'. So is there a way I can
use mcrypt, or mhash or ANY library to reproduce php's CRYPT_MD5 crypt()
call?
I don't really have a choice to use another password hash scheme, as the
data is...
|
by: Paul Furman |
last post by:
I'm trying to set up a web page for credit card transactions and baffled
trying to find a download for mhash functions for my windows apache
development server. The real server supports mhash but I can't test it
on my localhost system. php.net points me to
http://pecl.php.net/packages.php where I don't see it in plain english,
googling around it looks like this may be it:
http://sourceforge.net/forum/forum.php?forum_id=585348 but it's...
|
by: JLupear |
last post by:
I am having trouble with my code again, I had prepared a question and the code to upload, however I am having trouble posting it, are there limits to the amount of lines you can post?
I split it into 4 parts and am still having trouble uploading it. What am I doing wrong?
|
by: mrchatgroup |
last post by:
news from
http://www.mrchat.net/myblog/myblog/small-accidents-mean-big-trouble-for-supercollider.html
Small Accidents Mean Big Trouble for Supercollider
Image
Scientists expect startup glitches in the massive, complex machines
they use to smash atoms.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |