Recently i have worked on language translation project for that i need to read emails using PHP From the gamil inbox based on the email…
30 CommentsAuthor: Praveen Anaparthi
11+ years of IT industry experience holding a wide range of skill sets and roles with significant work on PHP, Node.js, Python, Ruby, Docker, React.js, Microsoft Azure, Azure DevOps, Windows PowerShell, Shell script, Jenkins, MongoDB, SQL, MySQL, Apache, Nginx. etc. It is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.
Laravel allowing us to extend the HTML facade with additional functionality. we use the HTML::macro() method to extend the HTML facade with our own methods.So…
Leave a Commentfunction titleRestrictionFilter($title){ global $post; $title = $post->post_title; $restrictedWord = “forbidden”; if (stristr( $title, $restrictedWord)) wp_die( __(‘Error: This title is containing restricted word’) ); } add_action(‘publish_post’,…
Leave a Commentfunction titleLimitChar($title){ if(strlen($title) > 55 && !(is_single()) && !(is_page())){ // not in single post page and page. $title = substr($title,0,55) . “..”; } return $title;…
Leave a CommentCodeIgniter default environment is development and so error reporting by default in turn on state, if you want to turn off reporting then change the…
2 CommentsCodeIgniter : https://github.com/bcit-ci/CodeIgniter.git
Leave a CommentHere is a custom HTML macros for Facebook Open Graph meta tags. if you don’t had any idea about FB open Graph meta tags ,…
Leave a CommentThere are times when you have huge data in table , and you my want to replace some text with something or you may be…
Leave a CommentHere is the class list of Twitter bootsrap3 .navbar .caret .label .table .img-responsive .img-rounded .img-thumbnail .img-circle .sr-only .lead .text-muted .text-primary .text-warning .text-danger .text-success .text-info .text-left…
Leave a CommentSending Ajax requests to server with JQuery library is pretty easy. We just need to include JQuery in your page after that we can use…
Leave a Comment$ci =& get_instance(); // instance of the CI super variable $ci->router->fetch_class(); // for controller name $ci->router->fetch_method(); // for method name
Leave a CommentUsing the below methods you get controllers and action names in the CodeIgniter. You can access with below since the above methods are deprecated.
Leave a CommentMethod chaining means that you can chain method calls in one single statement.All the methods are mutator methods which will return the original object or…
Leave a Commentvar image = document.getElementById(‘my_image’); var width = image.naturalWidth; var height = image.naturalHeight;
Leave a Commentecho $currentScriptFileName = basename($_SERVER[‘PHP_SELF’]); // My Output : main.php echo $currentScriptFileName = echo basename(__FILE__); // My Output : main.php
Leave a Comment