Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
23% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
5
Posts with Downvotes
2
Downvoting Members
5
0 Endorsements
Ranked #2K
~13.7K People Reached
About Me

I simply love PHP,

Interests
Coding , Coding And Only Coding.
Favorite Tags
Member Avatar for sylvia.roymccormick

Hi I know there are a lot of antivirus software suites out there but I would like to hear from the readers regarding their views of reliable "free" antivirus software. I don't think the big box stores would recommend anything so I am reaching out to this community for an …

Member Avatar for Reverend Jim
0
642
Member Avatar for thirsty.soul

Hello Everyone Help needed, Has anyone implemented frequency analysis attack on caesar cipher in PHP and predicting the possible key for it. it should input the cipher text and predict the key using frequency analysis chart.

Member Avatar for cereal
0
1K
Member Avatar for thirsty.soul

Hello DaniWeb, I want to develop PHP application, when there is Entry in specific table of database, it should send that information to subcribers on their emails, i am new to PHP. Suggest me solution to this problem. Thanks:

Member Avatar for diafol
0
149
Member Avatar for davy_yg

Hello, I am creating login system with session for secure login and logout. Yet, I don't think it works as it suppose to be. This is my codes: admin.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of …

Member Avatar for mattster
0
160
Member Avatar for Stefce

Hey everyone i have a little problem with the navigation bar, i have created the design of the menu but i want to be in one file (menu.html) and to show on all pages in the website... here is my code for `menu.html` <html> <body> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <style> form.position-and-style …

Member Avatar for mattster
0
288
Member Avatar for blueguy777

how to convert this old fastioned mysql statements to pdo? <?php error_reporting(0); define("host","localhost"); define("user","root"); define("password",""); define("db","pass2"); $connect_db=mysql_connect(host,user,password) or die("cannot connect"); mysql_select_db(db, $connect_db); $username=strtolower(addslashes($_POST['username'])); $password=strtolower(addslashes($_POST['password'])); $sql="SELECT * FROM users WHERE username='$username' AND password='$password'"; $result=mysql_query($sql); $row=mysql_fetch_array($result); $count=mysql_num_rows($result); if($count==1 && $_POST['userlevel'] == "admin") { session_start(); $_SESSION['id']=$row['id']; header("location: admin.php"); } else if($count==1 && $_POST['userlevel'] …

Member Avatar for matrixdevuk
0
2K
Member Avatar for thirsty.soul

Hello , I am Ali from Pakistan and new to this forum and addicted to it. People here are so helping. ;)

Member Avatar for mycyberquest
0
97
Member Avatar for rjusman90

<?php session_start(); ?> error_reporting(E_PARSE); include "connection.php"; $User_ID=$_SESSION['UserId']; $query = mysql_query("SELECT * FROM Users WHERE UserID='$User_ID'"); $row = mysql_fetch_array($query); $filename=$row['PicUrl']; $username=$row['UserName']; $fName=$row['FirstName']; if(isset($_SESSION["UserName"])){ if(!empty($filename)){echo '<img src="'.$filename.'" align="left"width="150px" height="100px"/>';} echo $fName; echo"<li><a href='logout.php'>Click here to Logout.</a></li>"; echo"<li><a href='user_update.php'>edit your account detail</li>"; } if(empty($_SESSION['UserName'])){ echo"<li><a href='login.php'>login</a></li>"; echo"<li><a href='register.php'>Sign Up</li>"; } ?> </li> </ul> …

Member Avatar for Ketul_1
0
153
Member Avatar for marifard

Hi, I make a delete page with php to delete clients from clients table. With this page I try to delete images from gallery table. for example I wish to delete client ABC from clients table and it have three images in gallery table. here under I paste the code …

Member Avatar for Ketul_1
0
157
Member Avatar for davy_yg

Hello, I wonder why I get this error: Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in C:\xampp\htdocs\squprime\registration1.php on line 65 line 65: if(!empty($stu_fname && $stu_lname && $stu_email && $stu_telp && $stu_skype)){ Thanks before.

Member Avatar for veedeoo
0
2K
Member Avatar for mexabet

I want to insert a URL inside an echoed table row. Here is the URL and table column: <a href="modify-user.php?id=<?php echo $row["id"]; ?>">Modify</a> Here is the table column: printf("<td class=\"listusers\">" "</td>"); Thanks for your help in advance.

Member Avatar for mexabet
0
179
Member Avatar for thirsty.soul

move_uploaded_file not working. althought the query works fine. newbie to php & daniweb :) . if($page=="Image") { $uploads_dir = '/gallery'; $tmp_name = $_FILES["t1"]["name"]; $name = $_FILES["t1"]["name"]; move_uploaded_file($tmp_name, "$uploads_dir/$name"); $insert="insert into gallery values('','$tmp_name')"; $query=mysql_query($insert); if($query) { header("Location:gallery.php"); } else { mysql_error(); } }

Member Avatar for thirsty.soul
0
139
Member Avatar for davy_yg

Hello, I wonder why in this specific sql table I do not see edit, copy & delete in xampp: from_stu_username date messages to_stu_username admin 0000-00-00 messages btjong ----------------------- Other Sql Table has Edit, Copy & Delete Except for messages. Here is my php code for adding the new data in …

Member Avatar for thirsty.soul
0
1K
Member Avatar for userasad

I want to recover my windows 8 from my windows 8 recovery media cd which I got with my laptop. But problem is that my laptop don't have CD drive. How I can use this CD. Can I share that DVD rom of other pc if it is so then …

Member Avatar for thirsty.soul
0
176
Member Avatar for malatamil

i want to display 3 data per row and n number of rows. someone help me to do this. <div class="top-box"> <?php include("config.php"); $sub2_category_id = $_GET['sub2product_id']; $sub2_category_name = $_GET['sub2product_name']; echo '<h2 class="head">'.$sub2_category_name.'</h2>'; $sql = mysql_query("SELECT p.`product_id`, p.`brand_name`, p.`brand_path`, p.`sub2_category_id`, p.`sub_category_id`, p.`main_category_id`, p.`date`,ba.`brand_amount_id`, ba.`available_pack`, ba.`mrp_amount`, ba.`our_price`, ba.`product_id` FROM `product` p JOIN …

Member Avatar for thirsty.soul
0
2K
Member Avatar for Paul_26

Hello i try to update the Image using Update Query in MySQL here's the code $pic = $_FILES['photo']['name']; $sql = "UPDATE `std_login` SET `imagename` = '$pic' WHERE `std_id_no` = '$std_id'"; the File upload works, but not Stored in Database. what to do? help me please.

Member Avatar for thirsty.soul
0
2K
Member Avatar for thirsty.soul

Hello DaniWeb, I am working on project in which admin generates dynamic query by selecting value from the First dropdown(program) then second dropdown (semester). The concept is that For example: if admin select "MSCS" from the first dropdown list and "3" from the second dropdown list. it should populate all …

Member Avatar for thirsty.soul
0
223
Member Avatar for eahdbz12

I need to get the list of diagnosed disease of the patient by choosing his name in the combo box,how can I do that? This is my code. <select name="pname" class="textfields" id="model" style="width:180px;" onchange="getVal1();"> <option id="0" >--Select Patient Name--</option> <?php $con=mysqli_connect("localhost","root","","dbnpatient"); if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " …

Member Avatar for thirsty.soul
0
217
Member Avatar for asheesh.mehta.54

<?php session_start(); mysql_connect("localhost","root",""); mysql_select_db("secure"); $name = $_POST['n']; $address = $_POST['x']; $order = "INSERT INTO user VALUES('$name','$address')"; if($result) { echo("Input data is succeed");} else { echo("Input data is fail");} ?> Error: No base was selected

Member Avatar for diafol
0
201
Member Avatar for Kalaivani Nair

Hi everyone.. I'm using a very simple code to remove an item from session array. I just jave no idea why it returns SQL error like this in another page that initiated the deletion: You have an error in your SQL syntax; check the manual that corresponds to your MySQL …

Member Avatar for Kalaivani Nair
0
355
Member Avatar for kingston22

Hi, I'm new to web development sector. Can anyone suggest me some tips or blogs to gain information about the web development with emerging ideas and tricks.

Member Avatar for JorgeM
0
291
Member Avatar for thirsty.soul

Hello DaniWeb. I want to generate dynamic table for my cources table. I have tried this code but the header(semester) seems not to be working. <section class="entry-content"> <?php $counter=1; $slect="Select * from mcs"; $qry= mysql_query($slect); while($row=mysql_fetch_row($qry)) { if($counter==$row[1]) { print "<div class='heading vcMsg'> <h3>SEMESTER $row[1] </h3> </div> <div class='column message-column'> …

Member Avatar for thirsty.soul
0
191
Member Avatar for nadiam

<?php if(isset($_POST['login'])) { require 'connection.php'; include 'password.php'; $email = $_POST['email']; $password = $_POST['pass']; $query = $dbh->prepare("SELECT id,name,email,password FROM users WHERE email = :email"); $query->bindParam(':email', $email, PDO::PARAM_STR); $query->execute(); $userData = $query->fetch(PDO::FETCH_ASSOC); $userEmail = $userData['email']; $hash = $userData['password']; if(password_verify($password, $hash) && $email == $userEmail) { session_start(); $_SESSION['sess_user_id'] = $userData['id']; $_SESSION['sess_name'] = $userData['name']; …

Member Avatar for thirsty.soul
0
305