Problem with null2unknown function

Hi all,

I am using a php code written by some one else and provided by my back for merchant services. This is for standard MiGs integration. However, the receipt page is not working. When i check the apache error logs. it shows that within myphp file the following is returned as an unknown function.

[php]$amount = null2unknown($_GET[“vpc_Amount”]);[/php]

The apache error log indicates that the null2unknown function is not recognized. I am running php 5.3. Any way of telling me whats wrong?

Thanks.

HI there,

The function null2unknown() isn’t a standard PHP function and therefor was created by the script’s creator. Because the function was created manually, you need to have the file that houses the function’s initiation. The error is telling you that that function cannot be found by PHP and therefor the file that contains the function initiation isn’t there or the script that this error is occurring in isn’t pointing to that file. You need to find the file that has the function and either put it in the script or point the script to the file that houses the function.

Hope this helps.

Sponsor our Newsletter | Privacy Policy | Terms of Service