If you find yourself doing any kind of disk-based I/O with PHP, you’ll undoubtedly come across the need to verify that a file exists before…
Leave a CommentTutorials / Programming tips Posts
When using Ajax there will be chances, where you will need to cancel the Ajax call. I found Aborting is useful while building a search…
2 CommentsIn this post, I will explain about binding events to models in Laravel 5.Laravel’s Events feature is really cool. It basically allows you to trigger…
Leave a Commenta { color: #00e; } a:visited { color: #551a8b; } a:hover { color: #06e; } a:focus { outline: thin dotted; } a:hover, a:active { outline:…
Leave a Comment/* Smartphones (portrait and landscape) ———– */ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { /* Styles */ } /* Smartphones…
Leave a Commentblockquote { background: #f9f9f9; border-left: 10px solid #ccc; margin: 1.5em 10px; padding: .5em 10px; quotes: “\201C””\201D””\2018″”\2019”; } blockquote:before { color: #ccc; content: open-quote; font-size: 4em;…
Leave a Comment.transparent { filter: alpha(opacity=50); /* internet explorer */ -khtml-opacity: 0.5; /* khtml, old safari */ -moz-opacity: 0.5; /* mozilla, netscape */ opacity: 0.5; /* fx,…
Leave a Comment#container { width: 400px; /* here you put the width that you need */ height: 200px; /* here you put the height that you need…
Leave a Comment/* external links */ a[href^=”http://”] { padding-right: 13px; background: url(‘external.gif’) no-repeat center right; } /* emails */ a[href^=”mailto:”] { padding-right: 20px; background: url(’email.png’) no-repeat center…
Leave a Comment#container { -webkit-border-radius: 4px 3px 6px 10px; -moz-border-radius: 4px 3px 6px 10px; -o-border-radius: 4px 3px 6px 10px; border-radius: 4px 3px 6px 10px; } /* alternative…
Leave a Commentbody { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
Leave a CommentWordPress is built upon a collection of powerful core APIs. You can actually load the core APIs into any PHP application, just like any other…
2 CommentsWe are going to discuss how to upload files to the remote server in CodeIgniter using CI’s FTP library. This library has limitations – SFTP…
4 CommentsIn this tutorial I would like to show you how easy to implement google like search auto complete text box with PHP, jQuery and MySql.…
1 CommentYou can use the hidden,visible selector: The hidden selector: // Matches all elements that are hidden $(‘#myDiv’).is(‘:hidden’) The visible selector: // Matches all elements that…
Leave a Comment