WordPress Connect to Database from Outside File
If you are doing something custom on a wordpress site and just want to hit the database directly, outside of WordPress, this is the easiest way to do it. Simply include the wp-config.php file and them make a MySQL connection to the database using the variables contained inside the wp-config.php file. So an overly simplistic [...]
goEmerchant XML Gateway API Code Example
I was not able to find any good example for processing credit cards through the goEmerchant XML Gateway API so I am sharing the simple way I did it recently using PHP. I hope this is at least enough to get someone unstuck someday. First thing we need to do is generate the XML that [...]