Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
11% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
16
Posts with Downvotes
5
Downvoting Members
10
2 Commented Posts
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Shikha_1

how msg is send to mobile from localhost . i need php code settings in nowsmsgateway settings in php.ini setting in httpd.conf file

Member Avatar for Sangeeta_2
0
216
Member Avatar for Shikha_1

<center><table border="2"> <tr><td><p><center>YOUR SCHOOL IS </center> </p></td></tr> <tr> <td colspan="2" id="combo"> <?php require("Dbconnect.php"); $qry="select class_id,class_name from master_class"; $result=mysql_query($qry); echo "FROM"; echo "<SELECT name='combo1' size='3' >\n";/* creating Ist drop down*/ while($row=mysql_fetch_array($result)) { echo "<option value='$row[0]'>$row[1]</option>\n"; } echo "</select>"; $qry="select class_id,class_name from master_class";/* creating 2nd drop down*/ $result=mysql_query($qry); echo "TO"; echo "<SELECT …

Member Avatar for bradly.spicer
-2
149
Member Avatar for Shikha_1

<?php require("Dbconnect.php"); //echo "<table id='t1'>"; $cls=$_GET['class']; //$count=0; echo $cls; $qry ="select cls_section_id from class where Class_name='$cls' "; $result=mysql_query($qry); while($row=mysql_fetch_array($result)) { echo $row['cls_section_id']; } ?> http://localhost/ediary/school%20%20diary%20system/subjectassign.php?class=%20NURSERY-A therefore $cls has value=NURSERY-A and when i am querying it does not result anything and instead of $cls if i use 'NURSERY-A' directly then output …

Member Avatar for Shikha_1
0
101
Member Avatar for Shikha_1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script language="javascript"> function genDivs(v) { var e = document.body; var row = document.createElement("div"); row.className = "row"; row.style.width = "70%"; row.style.height = "100%"; row.style.border="8px solid black"; row.style.overflow="scroll"; for(var x = 1; x <= v; x++) { var cell = document.createElement("div"); …

Member Avatar for Shikha_1
0
189
Member Avatar for Shikha_1

<script type="text/javascript"> function check() { var select1 = document.getElementById("from"); var selected1=[]; for(var i=0;i< select1.length; i++) { if (select1.options[i].selected) selected1.push(select1.options[i].value); } for (var j=0;j<select1.length;j++) { document.write(selected2[j]); } } </script> <!--[if IE]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <table width="70%" height="30%" align="center"border="1" style="border-collapse:collapse;"> <tr height="300"> <td height="256"><p><center>YOUR SCHOOL IS FROM </center> </p> <center> …

Member Avatar for Shikha_1
0
245
Member Avatar for Shikha_1
Member Avatar for ananthapriya
-7
214
Member Avatar for Shikha_1

Following function implements a way to find all the indices of a given $needle in $haystack. There is at least one bug in the implementation. Find and fix the bug(s). <?php function findAllIndices($haystack, $needle) { $indices = array(); while ($index = strpos($haystack, $needle)) $indices[] = $index; return $indices; }

Member Avatar for almostbob
-5
119
Member Avatar for Shikha_1

* how to set random string that refresh after every 5 min itself without reloading the webpage in php ?

Member Avatar for diafol
0
154
Member Avatar for Shikha_1

how to implement ssl in wamp 2,apache 2.2.22,php 5.3.13 ,step by step procedure

Member Avatar for diafol
0
108
Member Avatar for Shikha_1

<?php session_start(); echo 'POST: '; print_r($_POST); echo '<br />SESSION: '; print_r($_SESSION); require("DBconnect.php"); $user=$_SESSION['username']; $pass=$_POST['password']; echo $pass; $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); $password = hash('sha256', $pass . $salt); for($round = 0; $round < 65536; $round++) { $p= hash('sha256', $password . $salt); } echo $salt; echo "...."; echo $p; $qry="update …

Member Avatar for Shikha_1
0
126
Member Avatar for Shikha_1

registration.html <!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Register</title> <script type='text/javascript'> function refreshCaptcha() { var img = document.images['captchaimg']; img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000; } </script> </head> <body> <fieldset> <legend>Registration</legend> <form name="register" action="register.php" method="post"> <table width="510" border="0"> <tr> <td colspan="2"><p><strong>Registration Form</strong></p></td> </tr> <tr> <td>Username:</td> …

Member Avatar for cereal
0
720
Member Avatar for Shikha_1

*login.html* <html> <head> <title> login </title> </head> <body> <fieldset> <legend title=login>login</legend> <form action="login.php" method="post"> Username:<br /> <input type="text" name="username" value="" /> <br /><br /> Password:<br /> <input type="password" name="password" value="" /> <br /><br /> <input type="submit" value="Login" /> </form> </fieldset> <a href="register.html">Register</a> <a href="forgotpassword.php">Forgot Password</a> </body> </html> ***login.php*** <?php session_start(); …

Member Avatar for broj1
1
154
Member Avatar for Shikha_1

<?php include("DBconnect.php"); $u="select count(username) as 'COUNTUSER' from users where username='shikha verma'"; $result = mysql_query($u); while ($row = mysql_fetch_array($result)) { echo $row[COUNTUSER]; } /*if ($value[0]>0) { die("email already exist"); }*/ ?> the code inside the comment is not working please give me suggetions

Member Avatar for kkbalwada
0
198
Member Avatar for Shikha_1

***registration.php*** <!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Register</title> </head> <body> <fieldset> <legend>Registration</legend> <form name="register" action="register.php" method="post"> <table width="510" border="0"> <tr> <td colspan="2"><p><strong>Registration Form</strong></p></td> </tr> <tr> <td>Username:</td> <td><input type="text" name="username" maxlength="20" /></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password" /></td> </tr> <tr> …

Member Avatar for broj1
0
254
Member Avatar for Shikha_1

<?php include("DBconnect.php"); //Retrieving data from html form $username =$_POST[ 'username' ]; $email =$_POST [ 'email' ] ; $status='verify'; // A salt is randomly generated here to protect again brute force attacks // and rainbow table attacks. The following statement generates a hex // representation of an 8 byte salt. Representing …

Member Avatar for pzuurveen
0
131