Tag Archives: PHP
Using Regular Expression to find position instead of strpos or stripos in PHP
A simple and direct explanation with example to shows how to retrieve the position or index in a text given a particular string Continue reading
Simple Html Dom Fatal error: Call to a member function on a non-object
Simple_HTML_DOM class which keep causing Fatal Error with the message call to a member function on a non-object on the method “find” that is causing the script to exit unncessary Continue reading
How to extract word from a string given a position in php
A function to extract word from a string given a position of the wanted text. This is particularly useful when you want to find a particular string is linked to what word in a given text. Continue reading
Determine Whether JavaScript Is Enabled/Disabled Via PHP
An alternative solution for people who want to determine whether a JavaScript is enabled or disabled to run different code on their server scripting language. Continue reading
Best way to log details. Database or file log?
This is a decision on whether file based logging or database logging is better. Looking at different points and debating your personal preference. Continue reading
25 PHP Form Validation Snippets
Developer often search for form validation rule on search engine and the process of doing that is always repeated. Rather than always searching for the exact same solution, we can speed up our development process by eliminating the searching processing with this article where all validation snippets is being demonstrated. Continue reading
10 PHP Micro Optimization Tips
Ever wonder how fast each functions or methods run on PHP? Want to find out the real benchmark of these result? In this article, you will not only get some optimization tips but also the opportunity to look at each benchmark yourself! Continue reading
Integrate Paypal Express Checkout Solution
A simple explanation on Paypal Express Checkout integration that can really assist you during your paypal development Continue reading
