Thursday, July 27, 2017

Awesome Way on Creating a Log Files with PHP


Ohsomedevs Logging using file PHP banner.

There are times, we feel that we are in need a file which logs a request or transaction from a process we are currently working. Although we can fetch it automatically on our database but what if we don't need to store the data on the database and we only need to put it as a log on a simple text file.

More often, we usually encounter some errors or successes during our development. It's a good practice to save these responses for us to know why  we having errors.

Tuesday, July 25, 2017

Awesome Way To Upload Multiple File

Ohsomedevs - Multiple file upload using PHP and JS.

Most of the time, we might find ourselves wanting to upload files more than one at a time. Though in some cases, it depends on how you would use file uploads. For some cases, like uploading your profile picture on a social media site, it's not appropriate of having a multiple file upload for uploading a single image, but it depends on your flow your website though.

Sunday, July 23, 2017

Highlighting Text with PHP


In this tutorial, we will make a function that will highlight a keyword from a sentence. Some time recently, most developers and other individuals used to highlight searched word in a string with the utilization of inline CSS (Cascading Style Sheet) styling.

$str = "The monkey hangs on the door";
$keyword = "the";
echo str_ireplace($keyword, ''.$keyword.'', $str);

Saturday, July 22, 2017

Awesome Real Time Count Down Timer using JavaScript


Timed events are fun and intuitive for your clients and users. Individuals adore performing in some kind of rivalry, however there are numerous different motivations to demonstrate a JavaScript count down timer on your site. Notwithstanding the reasons, I will demonstrate to you proper methodologies to make a countdown timer utilizing JavaScript and HTML. My essential alert for you is to understand JavaScript dealt with on the client side and has a dependency on the client's computer speed. Be that as it may, countdown timers are as yet successful for urging your users to rapidly play out a specific task.

Real Time Add and Delete Data using JQuery


Once in a while we may discover a need to progressively include and evacuate HTML components into a site page or application. Yes sometimes, since it is imperative that we have all the required data with us before beginning to outline the structures or pages. This however does not discount the likelihood of such necessity. There have been cases where clients needed to have advantageous access to including and expelling components on their website pages.

PHP IMAP - Get Emails from GMAIL

Fetching emails from your GMIAL account is easier than what you expected. With the use of PHP IMAP Extension, you can easily fetch your e...