Subscribe to RSS Feed

Posts Tagged ‘ class ’

PHP Debugging

April 15, 2009 by Shaun
No Gravatar

So there are a number of tools out there that offer PHP debugging, including one that can be installed as a PEAR module, titled: “PHP_Debug,” which I might add is an outstanding utility. With my employers website, I took on the challenge to build our own. It’s not quite as verbose, but it allows us to restrict content by user rights. Also, it was a learning project for me.

Continue Reading »
No 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

PHP Classes

November 1, 2008 by Shaun
No Gravatar

I have worked with a number of programming languages as detailed in my initial introduction. I’ve found that PHP seems to be the fastest from planning to launch if building using OOP. Here is a brief overview of PHP Classes. This is extremely basic so that entry level users have a place to start. Feel free to comment should you have any constructive feedback.

It all starts with creating a display page and a class include. I do this to better organize the files, although everything will still function if built within on file.

Continue Reading »
No Comments

Olebox - Shaun Oleson is using WP-Gravatar