dreamincodehamza's Profile User Rating: -----

Reputation: -12 Disgraced
Group:
Contributors
Active Posts:
352 (0.13 per day)
Joined:
12-September 08
Profile Views:
16,511
Last Active:
User is offline Dec 11 2015 06:51 AM
Currently:
Offline

Previous Fields

Country:
PK
OS Preference:
Linux
Favorite Browser:
Safari
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
Honda
Dream Kudos:
75

Latest Visitors

Icon   dreamincodehamza has not set their status

Posts I've Made

  1. In Topic: Warning: mail() has been disabled for security reasons in

    Posted 19 Nov 2015

    Thanks for your responses.
    Usually it is not disabled on any hosting service provider bu it seems like this host do have issues.
    And now i am going to ask hosting provider about it.

    Thanks
  2. In Topic: Warning: mail() has been disabled for security reasons in

    Posted 19 Nov 2015

    View Postandrewsw, on 19 November 2015 - 05:33 AM, said:

    Yes, so did you find the php.ini and comment-out that line? phpinfo() produces a formatted output of the current settings. The settings themselves are in php.ini (and elsewhere).

    I have done nothing no commenting/uncommenting.And
    There is no php.ini configuration file exist on my hosting panel.
    But i do want to know how i can enable mail function.So i can use mail functionality.
  3. In Topic: Warning: mail() has been disabled for security reasons in

    Posted 19 Nov 2015

    here is what it says.
    http://prntscr.com/94hl84
  4. In Topic: Recursion help

    Posted 1 Jul 2015

    able to find out here is the code i hope it helps anyone
    function get_cat_selectlist($current_cat_id, $count) 
    {
    
      static $option_results;
      // if there is no current category id set, start off at the top level (zero)
      if (!isset($current_cat_id)) {
        $current_cat_id =0;
      }
      // increment the counter by 1
      $count = $count+1;
                     // database
                     $this->CI = &get_instance(); 
                     $this->CI->db->select('cat_id, cat_name');
      $get_options = $this->CI->db->get_where('tblcatagory', array( 'parent' =>  $current_cat_id) );
    
      $num_options = $get_options->num_rows();
    
    
      // our category is apparently valid, so go ahead 
      if ($num_options > 0) {
        
          foreach ($get_options->result() as $row)
          {
              // if its not a top-level category, indent it to
              //show that its a child category
    
              if ($current_cat_id!=0) {
                $indent_flag =  '--';
                for ($x=2; $x<= $count; $x++) {
                  $indent_flag .=  ' |_ ';
                }
              }
    
    
              if (isset($indent_flag)) 
              {
               $row->cat_name = $indent_flag.$row->cat_name;
              } else {
                $row->cat_name = $row->cat_name;
              }
    
              $option_results[$row->cat_id] = $row->cat_name;
              // now call the function again, to recurse through the child categories
              $this->get_cat_selectlist($row->cat_id, $count);
        }
      }
      return $option_results;
    }
    
  5. In Topic: php mail issue

    Posted 1 Jul 2015

    View Postno2pencil, on 01 July 2015 - 04:42 AM, said:

    Just noticed that you are using the php mail function to send email from a yahoo address. This is likely to be flagged as spam as your server is not going to resolve to yahoo when checked for verification. it is possible that the email alone goes through, but when you start adding an attachment, it's enough to spam out.

    The php mail function works best when using the email from php.ini. If you want to use another domain, it's best to authenticate with that mail server, rather than forging the headers. Even if it were to work, you wouldn't know for how long, until it started spamming out.


    I am using phpmailer.
    using mail() just for testing and it is working fine.
    the problem is with phpmiler.

My Information

Member Title:
D.I.C Regular
Age:
31 years old
Birthday:
October 28, 1984
Gender:
Interests:
internet surfing and football , cricket
Programming Languages:
Php ,
html ,
javascript
css,
php frameworks,
seo

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

dreamincodehamza has no profile comments yet. Why not say hello?