User Profile

Brijesh QnA

Brijesh

BA
  • 0Followers
  • 0Experience
  • 14Questions
  • Brijesh QnA

    Brijesh started a new conversation Facebbo login facebook->getUser() returning 0 23 days ago ago

    I am trying to use this However that gives me error .

    I used facebook login on my website. Every time I clicked on the facebook button  

    getUser() function return 0 I have tried everything but it's not working.

    $this->facebook->getUser();

    Please anyone help me
     

    Thanks in advance

  • Brijesh QnA

    Brijesh started a new conversation How to Calculate loan EMI ? 3 months ago ago

    I am trying to use this However that gives me error .

    I want to create a script for the monthly EMI Calculation. Let's say my product value is Rs. 10000, interest rate = 12% and period is 3 months. How to calculate EMI value for this?. I have tried with some formula. But not getting the correct value. Can you tell me any idea about this? Thanks in advance.

    <?php 
    $AMOUNT=10000; 
    $intrest=12; // 12 percentage 
    $plan=3; // 3 months 
    $EMI=($AMOUNT * (($intrest/100)*($plan))); echo $EMI; 
    ?>
  • Brijesh QnA

    Brijesh started a new conversation How to get column names from MySQL database 3 months ago ago

    I am trying to use this However that gives me error .

    I'm trying to get the column name from the SQL table.

  • Brijesh QnA

    Brijesh started a new conversation How to remove SSL form admin in magento ? 5 months ago ago

    I am trying to use this However that gives me error .

    When I entered site admin URL it redirects to https. I want to change https  instead of http

    When I open admin panel of my site it shows me this - 

    Your connection is not private
    Attackers might be trying to steal your information from www.example.com (for example, passwords, messages, or credit cards). Learn more
    NET::ERR_CERT_DATE_INVALID

    Automatically send some system information and page content to Google to help detect dangerous apps and sites. Privacy policy

  • Brijesh QnA

    I am trying to use this However that gives me error .

    I want to export Excel file of Table data when i click on download button. 

    I have some user's Data list it should be download on button click in Excel file in Php

  • Brijesh QnA

    I am trying to use this However that gives me error .

    I want to change a date which is from another timezone to my current timezone. like I have a UTC timezone DateTime I want to change it to GMT timezone. 

     

    I have tried this. 
    $the_date = strtotime("2010-01-19 00:00:00");
    echo(date_default_timezone_get() . "<br />");
    echo(date("Y-d-mTG:i:sz",$the_date) . "<br />");
    echo(date_default_timezone_set("UTC") . "<br />");
    echo(date("Y-d-mTG:i:sz", $the_date) . "<br />");

  • Brijesh QnA

    Brijesh started a new conversation How to post data in PHP using file_get_contents? 7 months ago ago

    I am trying to use this However that gives me error .

    I want to send data in file_get_contents post 

  • Brijesh QnA

    Brijesh started a new conversation How to send email in codeigniter? 8 months ago ago

    I am trying to use this However that gives me error .

    $config = Array(

                  'protocol' => 'smtp',

                'smtp_host' => 'ssl://smtp.gmail.com',

                  'smtp_port' => 465,

                 'smtp_user' => 'email id', // change it to yours

                 'smtp_pass' => 'password', // change it to yours

                  'mailtype' => 'html',

                  'charset' => 'iso-8859-1',

                   'wordwrap' => TRUE

             );

  • Brijesh QnA

    Brijesh started a new conversation how to redirect in jquery 8 months ago ago

    I am trying to use this However that gives me error .

    <script> window.location = http://vbagtech.com</script>

  • Brijesh QnA

    Brijesh started a new conversation Unable to locate the specified class: Session.php 1 years ago ago

    I am trying to use this However that gives me error .

    When i'm try to check session condition it shows me a error  Unable to locate the specified class: Session.php 

    <?php
    defined('BASEPATH') OR exit('No direct script access allowed');
    class Logout extends CI_Controller {
    public function __construct(){
     parent::__construct();
     $this->load->library('session');
    }
    public function Check()
    {
    if($this->session->userdata('q') > 60 ){
    
    $this->session->set_userdata("q", time());
    }
    else{
    $this->session->unset_userdata('q');
    //redirect(base_url());
    }
    }
    } ?>
  • Brijesh QnA

    Brijesh started a new conversation How to use Hooks in Codeigniter.? 1 years ago ago

    I am trying to use this However that gives me error .

    I want to use Hooks in my Codeigniter project . i want a function which is call every time when any Controller called ?

  • Brijesh QnA

    I am trying to use this However that gives me error .

    How to hide this Apache info from error page. Xampp localhost

    Apache/2.4.27(Win32) OpenSSL/1.0.21 PHP/7.1.9 Server at domain.com Port 8080

  • Brijesh QnA

    Brijesh started a new conversation How to Detect Browser Back Button event? 1 years ago ago

    I am trying to use this However that gives me error .

    window.onhashchange = function(e) {
      var oldURL = e.oldURL.split('#')[1];
      var newURL = e.newURL.split('#')[1];
    
      if (oldURL == 'share') {
        $('.share').fadeOut();
        e.preventDefault();
        return false;
      }
      //console.log('old:'+oldURL+' new:'+newURL);
    }
  • Brijesh QnA

    Brijesh started a new conversation How to get string form URL in codeigniter ?? 1 years ago ago

    I am trying to use this However that gives me error .

    i.m trying to get string from i.m using codeigniter framework please hlep me

    Thanks.