PHP

/PHP

Cron job fail to include files

If you select php as the command language for your cron job, relative paths may not work. This is because some PHP scripts expect to be run from the directory where they are stored, and due to the nature of our Sites platform they will be run from another location. This means including or requiring [...]

By |February 4th, 2015|Blog, PHP|0 Comments

Disable WordPress Admin Bar

 Disable WordPress Admin Bar for All Users Except Admin if you want Disable WordPress Admin Bar for All Users Except Admin then Paste following code in your theme’s functions.php file add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } } Disable Admin Bar for All Users If you want to disable Admin Bar for [...]

By |November 25th, 2014|Blog, PHP, WordPress|0 Comments

Backing up your WordPress database

Your database contains all your important information if the database is erased or corrupted you lose everything. Sometimes accident can happen when we least expert it. If you can have made a careless mistake and your database is gone how can you restore your data in your database? So Backup your database regularly. The WordPress [...]

By |October 28th, 2014|Blog, PHP, WordPress|0 Comments

Send emails from localhost(WAMP Server)

If you are developing php project on localhost and you are using mail function on your project that time you may face problem with send mail function. so in this tutorial we are explain how to configure sendmail. Follow the step below for configure sendmail: Step 1: Download sendmail Download sendmail and extract all the [...]

By |August 2nd, 2014|Blog, PHP|1 Comment

Filenames with spaces are break the download in Mozilla Firefox

When downloading certain files, you may find that the filename is truncated up to the first space. Thus, a link to download the file "My music.mp3" produces a save dialog containing "My" as the filename. This is a case of the website incorrectly sending the filename, and the browser coping as best it can. if [...]

By |August 1st, 2014|Blog, PHP|1 Comment

How to add search function to your website

If you are design any website it important to add search functionality on your site. Visitor or user essay find the content or exact data/page on your site. So add search function in your site and make your site user friendly. Allowing visitors to search your site is very important. We are so used to [...]

By |July 30th, 2014|Blog, PHP, WordPress|0 Comments

Migrate site from ASP to WordPress

Now a day WordPress is most popular blogging framework. many people are use WordPress for blogging as well as e-commerce application like online shop. using WordPress you can easily manage SEO, Change contain and take your site backup. WordPress framework is user friendly framework and any one can use without technical knowledge.only need some creativity and [...]

By |July 28th, 2014|Blog, PHP, WordPress|0 Comments

Database Security

Nowadays, databases are cardinal components of any web based application by enabling websites to provide varying dynamic content. Since very sensitive or secret information can be stored in a database, you should strongly consider protecting your databases.   Designing Databases The first step is always to create the database, unless you want to use one [...]

By |July 9th, 2014|Blog, PHP, WordPress|0 Comments

Protect your website from hackers

01. Keep software up to date It may seem obvious, but ensuring you keep all software up to date is vital in keeping your site secure. This applies to both the server operating system and any software you may be running on your website such as a CMS or forum. When website security holes are [...]

By |July 8th, 2014|Blog, PHP|0 Comments

Subscriptions and Recurring Payments in Paypal

When you use PayPal Subscriptions and Recurring Payments, your customers can purchase automatically recurring subscriptions from your website, or even using a link in an email. Subscriptions and Recurring Payments is a low-cost way for you to accept credit card and bank account payments for content site subscriptions, newsletter fees, club dues, or recurring donations, [...]

By |July 7th, 2014|Blog, PHP|1 Comment