How to fix PHP CURL Error 60 SSL

Today, I finally tackled an issue that had been bothering me for a long time. Everytime I tried to connect to an API of mine, cURL returned the error code 60. If I set curl_setopt($process, CURLOPT

How to include a javascript/jquery file once

When creating modules or widgets, you may want to make sure the dependent .js is included, but you don't want it added twice, so here's a quick jQuery dependent solution to add files only once. <