Subscribe to RSS Feed

Posts Tagged ‘ array ’

PHP Arrays

November 9, 2008 by Shaun
No Gravatar

So my last post was about Authorize.NET and PHP. It received quite a bit of attention. For that reason, I’m focusing again on PHP and I’m planning to elaborate on the use of arrays. Arrays are useful for many purposes. I’ve used them to store session data, pass values into functions, as well as a streamlined method of managing and validating data.

Continue Reading »
2 Comments

Authorize.NET and PHP

November 7, 2008 by Shaun
No Gravatar

So I’ve had quite a bit of experience with authorize.NET and PHP and I’ve found it’s difficult to find resources that provide textual examples for integrating the payment processor. I’ve put together a generic tutorial from Authorize.NET documentation that is public. Of course, you will have to specify your Transaction ID and API Login ID. So here you are. If you need assistance or have any questions, feel free to leave a comment. If you found this article helpful, please help support our sponsors through the google ads as they help to cover our hosting fees. Both myself and the companies appreciate it!

The example that Authorize.NET provides does a lot of parsing through strings. I prefer working with arrays as they are easier to read, shorter to write and from what I understand, faster to parse. Also, I like to organize my data in classes. For this example, I’ll just show the function as that should be enough to integrate.

Continue Reading »
10 Comments

Olebox - Shaun Oleson is using WP-Gravatar