Jump to content

WordPress PHP Custom Plugin BASIC PHP Help


binaryblock

Recommended Posts

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]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.