...

PHP

PHP Detect Broken Image

Hey, we can see many website have default images if image is broken, so question is how to detect it using php the image is not found given url or…

...

PHP

How to use memcache with php simple example

Memcache is very popular open source caching tool use in nowdays, this article is related to how we can use the memcache with PHP, So start First of…

...

PHP

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 54 bytes)

Sometimes we get this php error on long page load or load many files are at once Fatal error: Allowed memory size of 134217728 bytes exhausted (…

...

PHP

check if a string contains a specific word with PHP

n PHP sometimes we need to find the specific word in the string for the programitically use the code, there is a function called "strpos()" will help…

...

PHP

Reindex the Array keys

Sometimes we need to slice the array for certain values using program a code and at that time key of array is also unset. If you faced the same then…

...

PHP

Slice array Elements using Keys PHP

Array Many Helpful Function are available to exact the specific set of keys of an array $sliced-arr = array_slice($new_tags, 0, 6); The above…