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]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.