Search found 5 matches
- Tue Dec 14, 2010 6:13 pm
- Forum: PHP - Code
- Topic: Caching vs Hot Linking images
- Replies: 0
- Views: 164
Caching vs Hot Linking images
Hey all - I'm currently collectiong 1.3 million records/day - one of the fields is the thumbnail link for visual display (social media feeds - so a twitter post with twitter users thumbnail). I believe best practice would be to cache the image rather than hot link. Problem is, I'm collecting 180 day...
- Mon Nov 29, 2010 1:30 pm
- Forum: PHP - Code
- Topic: Memory Size - Fatal Error
- Replies: 2
- Views: 171
Re: Memory Size - Fatal Error
What is your PHP version? PHP has been including circular object graph garbage collector since v5.3 While I don't see anything in your code that would lead to a circular object graph the leak could be hidden somewhere in CI internals. Thanks for the response. Apparently I'm on PHP Version 5.2.14, V...
- Mon Nov 29, 2010 5:12 am
- Forum: PHP - Code
- Topic: Memory Size - Fatal Error
- Replies: 2
- Views: 171
Memory Size - Fatal Error
Hey all - First of all, I'm using CodeIgniter for this, but I'm pretty sure the error is strictly PHP (just giving you a heads up for syntax). I'm consuming an xml file generated by a gnip.com social media API. This particular iteration is attempting to save about 25,000 records to my db. The code I...
- Sat Nov 27, 2010 2:29 pm
- Forum: PHP - Code
- Topic: Fastest way to parse a string
- Replies: 2
- Views: 124
Re: Fastest way to parse a string
Thanks that's totally rad. Appreciate the help.
- Thu Nov 25, 2010 5:06 pm
- Forum: PHP - Code
- Topic: Fastest way to parse a string
- Replies: 2
- Views: 124
Fastest way to parse a string
I am working with an API that returns an XML file. I have a line of code that returns the title. $keyword = $xmlObj->entry->source->title; An example of the returned title is: Twitter - Keyword - Notices - Nike What I really want $keyword to be is "Nike" - so, given that string above, what...