Jump to content

compsol

New Members
  • Posts

    2
  • Joined

  • Last visited

compsol's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I didn't write the code it was someone else I just taking over the management of the site for the end user. Basically it is a hotel booking system and the user would select which hotel they would like to stay in and fill in all the required information. This information is then encrypted and then e-mail to the user and also the hotel with more information on. The encrypted e-mail goes to the hotel and then thy put in the decryption code to be able to read it. It all works okay except it gets to the stay of encrypting the message and creating the e-mail and this is where it fails. It is using gnupg and the system () was part of the code to run this command. It did work perfectly before but as previously mentioned the system () is now being blocked by the hosting provider.
  2. The code I am having a problem with is this: ob_start(); $resultTxt = system($command, $result); $errTxt = ob_get_contents(); ob_clean(); $resultTxt = nl2br($errTxt) . "$resultTxt"; I get a PHP Warning that the system () has been disabled for security reasons. I don't have access to the php.ini file to change this. Can the code be changed from system to something else that will work?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.