Bikash Hutait's Profile
Team Leader
1700
Points

Questions
32

Answers
147

  • Team Leader Asked 5 days ago in TECHNOLOGY.

    Here is the code.It’s working for me.Hope it will help you.

    <?php if ($_REQUEST['smsnumber'] != "") {
    
    $company_data['sms_text']="This is for testing purpose";
    
    $TID="TXN".rand();
    $number = $_REQUEST['smsnumber'];
    
    $text = "Dear Customer, The TXN for ID No. " . $TID . " is Accepted, " . $company_data['sms_text'] . 'Thanks.';
    
    $url = 'http://bulksms.mysmsmantra.com:8080/WebSMS/SMSAPI.jsp';
    
    $fields = array(
    
    'username' => 'xxxxxxx',
    
    'password' => 'xxxxxxxx',
    
    'sendername' => 'XXXXXX',
    
    'mobileno' => $number,
    
    'message' => $text
    
    );
    
    foreach($fields as $key => $value) {
    
    $fields_string.= $key . '=' . $value . '&';
    
    }
    rtrim($fields_string, '&');
    
    $ch = curl_init();
    
    curl_setopt($ch, CURLOPT_URL, $url);
    
    curl_setopt($ch, CURLOPT_POST, count($fields));
    
    curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string);
    
    $result = curl_exec($ch);
    
    curl_close($ch);
    
    ?>
    
    • 42 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on November 4, 2018 in HTML.

    Bullet & Number List

    <!DOCTYPE html>
    
    <html>
    
    <body>
    <h2>Bullet & Number List</h2>
    <ul>
    
    <li>C</li>
    
    <li>JAVA</li>
    
    <li>PHP</li>
    
    </ul>
    <ol>
    
    <li>C</li>
    
    <li>JAVA</li>
    
    <li>PHP</li>
    
    </ol>
    </body>
    
    </html>
    
    • 48 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on November 4, 2018 in HTML.
    <!DOCTYPE html>
    
    <html>
    
    <head>
    
    <style>
    
    .button {
    
    background-color: #f44336;
    
    border: none;
    
    color: white;
    
    padding: 15px 32px;
    
    text-align: center;
    
    text-decoration: none;
    
    display: inline-block;
    
    font-size: 16px;
    
    margin: 4px 2px;
    
    cursor: pointer;
    
    }
    
    </style>
    
    </head>
    
    <body>
    <h2>HTML Buttons</h2>
    <button>Default Button</button>
    
    <a href="#" class="button">CLICK HERE</a>
    
    <button class="button">CLICK ME</button>
    
    <input type="button" class="button" value="CLICK ME">
    </body>
    
    </html>
    

    This answer accepted by rajesh. on November 5, 2018 Earned 0 points.

    • 43 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on November 4, 2018 in TECHNOLOGY.

    MS-Excel can wrap text so it appears on multiple lines in a cell. You can format a cell so the text wraps automatically  or enter a line break.

    1. Select the cells that you want to format.
    2. On the Home tab, in the Alignment group, click Wrap Text.

     

    wrap

    • 36 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on September 21, 2018 in JAVASCRIPT.

    There are two possibilities  for this problem :

    1. you didn’t enter the API KEY in your map script

    2. you didn’t enabling the API Library especially for this Google Maps JavaScript API

    just check on your Google developer console for that if everything okay or not.

    • 49 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on September 21, 2018 in JAVASCRIPT.
    Google Maps is no longer free. You have to associate a credit card so that you can get billed if your site has requests that exceed the $200 credit they give you monthly for free. That is why you get the watermarked maps.
    You got the error as you  did not set a billing account with credit card information to comply with the new pricing structure for the Maps API. All new API projects are required to setup a billing account with credit card information.

     

    For more information, click here

    This answer accepted by dip. on November 4, 2018 Earned 0 points.

    • 100 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on July 20, 2018 in PHP.

    If you got this kind of error please logged into 1and1 panel and check whether your website database was activate as “External Access”  or not.It should activate otherwise you will get this kind of error.

    I had experienced with this kind of error and resolved to do this.

    Note: If you still having the same issue then please contact with your hosting provider they might be helped you. Best of Luck.!!!

    • 108 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on July 20, 2018 in WORDPRESS.

    Please follow the below steps to add a target attribute of a specific link on the wordpress Menu.You don’t need to do any hardcore programming.It’s very easy to activate.

    Step 1:

    Please Go to “Menus” under “Appearance”. Then click on the “Screen Options” button, located on the top right corner in wordpress backend.
    target
    Step 2:

    Just enable “Link Target option” under “Show advanced menu properties”.

    Step 3:

    In your Menu items,a new field will be displayed as “Link Target”.Please check that option and it will works.

    This answer accepted by suresh. on November 4, 2018 Earned 0 points.

    • 77 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on July 5, 2018 in WORDPRESS.

    If you were getting “This site contains harmful programs” thats means your website was hacked OR It had some sort of virus or Trojan or suspicious code in the live server and Google thought it could be dangerous for your visitors.
    Google let your visitors know that they can go back to safety because your website could be harmful.

    1.BACKUP YOUR WORDPRESS SITE:

    Please make a complete backup of your WordPress site.

    2.MANUALLY REMOVE CORRUPTED PLUGINS, THEMES OR FILES:

    If you found that it’s something on the backend then log into wordpress backend and remove that plugin,theme,the affected files OR suspicious code.

    Once you remove them from your web server,please ask Google to remove the warning.

    {i}First login to your Google Webmaster tools.
    {ii}Go to security issues and then check the box letting Google know that you have fixed the errors and the warnings.
    {iii}Now Google should re-crawl your website and verify that you had fixed the problems.
    {iv}And finally your website should be back to normal.

    3.INSTALL WORDFENCE SECURITY PLUGIN:

    Once you have fixed your problem its better to activate a security plugin on your website.It’s keep your websites safe.I’ll recommend to use Wordfence. To do this; simply go to your plugins, add new and then look for Wordfence or type in security.

    • 36 views
    • 1 answers
    • 0 votes
  • Team Leader Asked on July 5, 2018 in WORDPRESS.

    Connect to your WordPress site using a FTP client {FileZilla}.Once you are connected, just do right click on the wp-content folder and select file permissions.

    You’ll get a file permissions dialog box in your FTP client. It will show you file permissions for owner, group, and public.

    After that just enter 755 in the numeric value field and check the box next to ‘Recurse into subdirectories’  and  then  click on ‘Apply to directories only’ option.Finally Click on the OK button to continue.

    Your FTP client will now set folder permissions to 755 and apply it to all sub-folders inside WordPress wp-content. This includes uploads folder where all your images are stored.

    Once again, right click on wp-content folder and select file permissions. This time we will change permissions for files.

    Enter 644 in the numeric value and then check the box next to ‘Recurse into subdirectories’.

    Lastly, you need to click on ‘Apply to files only’ option.

    Click on the OK button to continue. Your FTP client will now set file permissions to 644 for all files in wp-content folder.

    You can now go to  your WordPress site and try uploading files.

    • 29 views
    • 1 answers
    • 0 votes