All,
I am humbly asking for your PHP wisdom and help. I am new to PHP (but used Java for quite some time). I have created the following WORDPRESS plugin and I believe it is causing me "Out of Memory" errors on the server. I am ALSO seeking help on WordPress support forums, but my questions pertain to basic PHP. I was hoping there were some crazy smart PHP Freaks here that wouldn't mind taking a look at my plugin code.
I think my memory leaks might have to do with my use of GLOBAL variables, but not sure.
I don't know the forum rules 100% yet, so I am not going to post all the code here. You can find it here on PostBin:
http://phpfreak.pastebin.com/StDTZF4P
I am also attaching PHP file to this post.
ANY help would be appreciated.
Thanks,
-BinaryBlock
[attachment deleted by admin]