Jump to content

Fetch Gateway log - Debug Data as Array


Eugene

Recommended Posts

Hello,

Currently, WHMCS stores the gateway log ( Debug Data ) array as a string in the database.  

My module needs the debug data to work on and inorder to use the debug data it needs to be an array. 

Please help me how can I get the gateway log's debug data as array from whmcs.  This is very important.

 

 

Edited by Eugene
Link to comment
Share on other sites

20 hours ago, Eugene said:

Yes, we can! but that would not be efficient and might fail in some cases.  😞

any technique might fail in some cases when you're not in control of the format of the original string and you're trying to manipulate it.... exploding or regex are about the only options that spring to mind.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated