admin's Profile
IT Head
3651
Points

Questions
0

Answers
54

  • IT Head Asked on May 27, 2019 in ANDROID.

    Escape characters are preceded by double backslashes. For example a newline character is created using ‘\\n’

    • 238 views
    • 1 answers
    • 0 votes
  • IT Head Asked on May 27, 2019 in ANDROID.

    onStop() will be called when you leave the activity for some other activity.This onStop() method will clean up all your activities resources.

    • 238 views
    • 1 answers
    • 0 votes
  • IT Head Asked on May 27, 2019 in MAGENTO.

    Step 1:
    Update the tax setting as per your need.
    admin–>System–>Configuration–>Sales–>Tax

    Step 2:
    Locate the below file and update.
    Path: app/code/core/Mage/Sales/etc/config.xml
    Change the below code
    FROM:

    
    <after>subtotal,freeshipping,tax_subtotal</after>
    
    

    TO:
    
    <after>subtotal,freeshipping,tax_subtotal,msrp</after>
    
    <before>grand_total</before>
    
    

    • 128 views
    • 1 answers
    • 0 votes
  • IT Head Asked on March 26, 2019 in SEO.

    Please check the below points.

    1.Verify your index/home page that it has a title tag.

    2.Check your canonical URL.

    3.Don’t add multiple properties in Google Webmaster and check your sitemap URLs .

    • 238 views
    • 2 answers
    • 0 votes
  • IT Head Asked on January 3, 2019 in CODEIGNITER.

    Step 1:

    First create a custom mailsending Helper in application/helpers folder create a new php file mailsending_helper.php.

     

    if (! defined('BASEPATH')) exit('No direct script access allowed');
    if (! function_exists('mailsending')) {
    
    function mailsending()
    
    {
    
    // get main CodeIgniter object
    
    $ci = get_instance();
    // Write  code here for sending email
    }
    
    }
    

    Step 2:
    Load the mailsending Helper globally.Open your application/config.php file and add the below code

    
    $autoload['helper'] = array('mailsending');
    
    

    Step 3:

    Load mailsending helper within the controller as per your requirement.

    
    //load custom helper
    
    $this->load->helper('mailsending ');
    
    

    use the helper function in your controller.

    
    // just call the function name
    
    mailsending();
    
    
    • 271 views
    • 1 answers
    • 0 votes
  • IT Head Asked on January 3, 2019 in WORDPRESS.

    You can install or activate wordpress theme without license key.Its not mendatory but if you activated the license key you’ll get some benefit like

    1. Allow you access to support and automatic upgrades.

    • 280 views
    • 1 answers
    • 0 votes
  • IT Head Asked on November 18, 2018 in PHP.

    Setting the privileges of a document might be essential while transferring a content or non-customary record to your web server. To set the privileges of a record or chmod a document in a FTP customer, adhere to the directions beneath. In our model underneath we’ll be utilizing FileZilla, our most loved free FTP customer. Clients who are utilizing different customers should discover the means underneath like what they have to do.

    Open FileZilla.

    Associate with the server you’re you will transfer the records.

    On the left-hand side of FileZilla demonstrating your records peruse to the area containing the documents you need to transfer.

    Next, on the right-hand side of the window, peruse to the area of the transfer records. On the off chance that this area doesn’t exist make it.

    Transfer the records by relocating or right-tapping the documents and choosing transfer.

    At long last, once transferred you’ll see that the authorization as a matter of course has been set to “644” or “0644”. To change that authorization right-tap the record and snap document consents. On the off chance that you know the numeric esteem the document should be set to, enter that esteem into the content box and snap alright or check every one of the consent boxes you need.

    • 325 views
    • 1 answers
    • 0 votes
  • IT Head Asked on November 17, 2018 in TECHNOLOGY.

    If you have the permission to access htaccess file then add two lines to disable cookies on your domain.

    1
    2
      Header unset Cookie
    Header unset Set-Cookie
    • 314 views
    • 1 answers
    • 0 votes
  • IT Head Asked on November 17, 2018 in WORDPRESS.

    Use cookie-free domains in WordPress:

    1.Create a subdomain such as static.example.com which is where you will deliver all your static files from.

    2.Point your new subdomain to the /wp-content directory of your WordPress installation. For cPanel users, you will need to update the document root field from public_html/static to public_html/wp-content.

    3.Edit wp-config.php file as below:

    define("WP_CONTENT_URL", "http://static.example.com");
    define("COOKIE_DOMAIN", "example.com");
    

    4.Run the following command in your SQL database.

    UPDATE wp_posts SET post_content = REPLACE(post_content,'example.com/wp-content/','static.example.com/')
    

    Your cookie domain and static content subdomain are set.Now you can begin delivering static content without the server setting an unnecessary cookie for static assets.

    • 448 views
    • 1 answers
    • 0 votes
  • IT Head Asked on November 7, 2018 in HTML.
    <!DOCTYPE html>
    
    <html>
    
    <body>
    
    <select name="listbox" id="listbox" size="10" multiple="multiple">
    
    <option value="JAVA">JAVA</option>
    
    <option value="C">C</option>
    
    <option value="PHP">PHP</option>
    
    <option value="ASP">ASP</option>
    
    <option value="All">All</option>
    
    </select>
    </body>
    
    </html>
    
    • 243 views
    • 1 answers
    • 0 votes