Jump to content

curlCall only parse specific options


HostT

Recommended Posts

Any particular reason curlCall ONLY parses TIMEOUT and HEADER?

 

The documentation:

http://docs.whmcs.com/Useful_Functions_for_Devs

 

Leads you to believe you can pass an array of options for curl to this function, but after spending multiple hours troubleshooting I ended up decoding the functions file to find that function ONLY accepts and parses TIMEOUT and HEADER ...

 

Would have been nice for that to be mentioned somewhere in the documentation .... ugh now I feel like an idiot for even wasting my time trying to use core whmcs functions. bleh.

Link to comment
Share on other sites

  • 2 weeks later...

"Hey thanks for letting us know about this, we will be sure to update the documentation so others can benefit from this" ... pft shouldn't have expected any response.

 

Oh wait whats that, I had another issue where the 'forcessl' option is not specified ANYWHERE on the addon module documentation, and spent a good while trying to figure out why index.php kept redirecting to http on an https site.

 

Good thing I know how to decode PHP files .. ugh.

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