Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • Google+
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap

How to Add/Remove text boxes using jQuery and PHP

January 26, 2014 Web Design Jesin A 42 Comments

jquery add remove textbox

This is my first post this year and the first tutorial using jQuery. In this tutorial we’ll see how to add or remove text input fields in a HTML form using jQuery and process the submitted data using PHP. The biggest advantage of jQuery lies in its simplicity of selecting elements. Plain JavaScript would require numerous getElementBy… methods and sifting through indexes to select the right element whereas jQuery does it with just a simple $('.class1 .class2 element') similar to CSS thanks to Sizzlejs.Continue Reading…

Tags: jquery

WordPress Hooks (Actions and Filters) Search Tool

December 20, 2013 PHP Jesin A 5 Comments

wordpress hooks search tool thumbnail

This started out as a PHP regex experiment. I wanted to find the WordPress “action” hooks in a particular theme so that I can add my own action function to it.

So instead of searching through the whole lot of files for do_actions I sat down writing a regular expression to do this. I was very satisfied with the results which made me think about creating a tool to do this.

So here you go a standalone PHP script which seeps through the PHP code of the WordPress core, plugins, themes or anything you specify and gets you a list of actions and filters.

I use the word “standalone” because this isn’t a WordPress plugin or anything which requires WordPress functions. This is a script which uses a regex in preg_match_all() to find all “tag” names in the do_action() and apply_filters() function. This does not even require WordPress, if you want to find the hooks in a plugin just download the plugin, unzip it to a directory readable by this tool.

Download WordPress Hooks Search Tool | GitHubContinue Reading…

Tags: ajax, php scripts, wordpress

How to Configure MSMTP for Cron

October 31, 2013 Linux Jesin A 3 Comments

The Cron utility of emails the output and errors of an executed job to the appropriate Linux user. This requires a properly setup mail server such as sendmail.

However you can use msmtp (an SMTP client) to receive emails from cron jobs to each users’ preferred email ID through your preferred email provider.

Make sure msmtp is installed and configured by following the instructions here.Continue Reading…

Tags: sendmail

Custom 403 and 401 error pages in WordPress

September 18, 2013 PHP Jesin A 5 Comments

wordpress custom 403 error page

Earlier I had written an article on custom error pages for Apache but doing the same with WordPress is not that straightforward. WordPress has the ability to handle 404s internally but doing the same for other 4xx errors requires modifying the code.

I’ve been searching how to do this for months without luck. Recently after I created my own theme for this blog I got some knowledge of WordPress internals.

I put that to use and after several hours of experimenting built the 403 and 401 custom error pages for my WordPress blog.Continue Reading…

Tags: custom error pages, php, wordpress

Cisco Packet Tracer Dial Up

September 7, 2013 Networking Jesin A 2 Comments

cisco packet tracer dial up thumbnail

I was going through the documentation of Cisco Packet Tracer when I read about the Modem Dial-up Utility. This utility was available on the Desktop tab of both PCs and Laptops.

The documentation said a PC/Laptop, Cloud and a router were required. It also mentioned that the router should have a user name authentication (username WORD password LINE) in addition to a modem interface.

The modem interface of the cloud must also have valid a phone number. But I didn’t know how to go about it. So googled for a long time and found this slideshare presentation. Starting from slide 17 it had the information I needed.

So I ended up writing this article on creating a Cisco Packet Tracer Dial Up dial up lab.Continue Reading…

Tags: cisco, cisco packet tracer

Disable Javascript in Firefox 23

September 4, 2013 Windows Jesin A 1 Comment

disable javascript in firefox 23

The latest Firefox version 23 has been released and it is on news for a lot of reasons.

A new logo, lack of support for the <blink> tag, blocking of mixed (HTTP content on a HTTPS page) to name a few. Among these is “the inability to disable javascript” an article said. What?

Then how do I disable javascript in Firefox 23 to test my new blog design sans JS?

Earlier it was just a matter of Tools menu > Options > Content tab and uncheck “Enable Javascript” to disable javascript.Continue Reading…

Tags: firefox, javascript

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 25
  • Next Page »

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.