Walterjnr's Posts
Nairaland Forum › Walterjnr's Profile › Walterjnr's Posts
Hello, what is the best and cheapest SMS Gateway i can Integrate into my website.i need an SMS that can send messages to other countries. i don't want Twillo and Nexmo cos they are expensive.? |
maxotega:Use this code if(isset($_POST["btnsms"])) { $username='xxxxxxxxxx@gmail.com';//Note: urlencodemust be added forusernameand $password='xxxxx766';// passwordas encryption code for security purpose. $sender='Adashe'; $url = "http://portal.nigeriabulksms.com/api/?username=".$username."&password=".$password."&message="."Your Account Balance: ".$_SESSION["balance"]."&sender=".$sender."&mobiles=".$phone; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HEADER, 0); $resp = curl_exec($ch); //echo $resp;// Add double slash or delete “echo” //echo "<br>Thankyou for using Bulk SMS NigeriaAPI";//Your notification message herecurl_close($ch } more info whatsapp - 080 6736 1023 |
maxotega:can do that for u under 10 minutes. is simple. whatsapp me 0806 736 1023 |
bunnaes:you want them to Ban me when i reply you. Hold your sight o. |
thanks Solved it now |
please i need your help, my dashboard works very well on localhost but when i take it online by hosting , it does not display well. some feature does not work like table etc i have checked and compared the php version and they are the same . (i.e mine is php 7.2.18 and hosting firm php 7.2) don't know what to do again. i also discovered that other pages like regiistration forms works well except my index.php page please help |
Good day Nairalanders. please who has implemented Paga payment gateway Api in php before. i need help |
PatriotTemidayo:GST 111- use of English “We discussed intensively about the security issue in Northern Nigeria, not just in Zamfara. “We met in the National Security Adviser’s office with northern governors and the Inspector-General of Police and other security agencies. “We discussed extensively on the issue of insecurity |
You guys are great |
hollyfat:Worked like Mad. Used $newVal =$_GET['newVal']; only changed from : window.location.href = "btwc_authenticate.php?newVal='+newVal+'"; To: window.location.href = "btwc_authenticate.php?newVal="+newVal+""; Thanks . U r a bad guy |
Kingpinukecy:Thanks bro. Loader.php is loading first and sends value to btwc_authenticate.php page |
hollyfat:Thanks. Will try try then give you feedback. |
Please i have an issue comparing value from Prompt box to database (like Login ) i can't pass variable from Javascript in loader.php to a variable in btwc_authenticate.php. please. This is my code: Loader.php <script> function myFunction() { var newVal = prompt("Please enter your BWTC:" ;if (newVal === "" {alert("Empty entry! Try again " ;} else if (newVal) { // user typed something and hit OK window.location.href = "btwc_authenticate.php?newVal='+newVal+'"; } else { // user hit cancel } } </script> btwc_authenticate.php <?php session_start(); //error_reporting(0); include('../includes/config.php'); //$newVal = +newVal+ ; $newVal =$_POST['newVal']; $sql = "SELECT * from transfer_code WHERE BWTC=:BWTC"; $query = $dbh->prepare($sql); $query-> bindParam(':BWTC', $newVal, PDO::PARAM_STR); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); if($query->rowCount() > 0) { $_SESSION['sess_newVal']=$newVal; header("location:loader_2.php" ;}else{ ?> <script> alert('BTWC PIN Not Correct '); window.location = "loader.php"; </script> <?php } ?> pls help. thanks |
Still waiting for the code o. Pls Thenaijaitguy: |
Thanks ANTONINEUTRON: |
Will be glad. Note i am calling the data from a single column. Thenaijaitguy: |
Thenaijaitguy:How do i use it in my code. Or is my code not correct? |
please , how can i achieve this in shown in picture labelled "1" i used this code below and got what you are seeing in picture labelled "2" <table width="0" border="0"> <tr> <td width="200"><span class="style3 style3"> <label> <?php $sql ="SELECT * FROM tbl_permission"; $query = $dbh->prepare($sql); $query-> bindParam(':display_name', $display_name, PDO::PARAM_STR); $query->execute(); for($i=0; $row = $query->fetch(); $i++) { ?> <input name="checkItem[]" type="checkbox" value="<?php echo $row['id']; ?>"> <?php echo $row['display_name']; ?> </label> </span></td> </tr> <tr> <td> </td> </tr> <tr> <td><span class="style3"><span class="style3 style3"> <?php } ?> </span></span></td> </tr> <tr> <td><button type="submit" name="btn_save" class="btn btn-primary btn-flat m-b-30 m-t-30">Submit</button> </td> </tr> </table> i want my checkbox to display like in picture labelled "1"
|
United for life |
Please what are the steps/techniques involve in scratch card development? I mean from algorithm to printing of bulk PIN/scratch card. Thanks |
For now Airtel is better than Glo. |
Naija i hail. |
Zico5:Read with understanding b4 exposing your ignorance. NAN reports that the clarification became imperative following reports in some quarters that some athletes were being owed allowances. |
Thank God for him. For research project students , we have this for you
|
;