Member Avatar
Featured Dani 1,665 Replied To a Post in Is DW alive?
Topic by devs4p in DaniWeb Community Feedback
> Combine that with the very high incidence of spambots in the community forums at around the same time and a lot of people just stopped coming regularly at all.

Well that's really only been a problem for the past few weeks. DaniWeb declining really started nearly four years ago … Reply by Dani
Member Avatar
Gribouillis 1,391 Replied To a Post in Reading a .raw file and display as hex
Topic by random_1 in Software Development

> hmm. it only displayes a few dozen lines of the end of the file. so then i tried:

If you read by chunks, you need a while loop to read the whole file step by step. It is meaningless to remove the while loop. Also reading your file alone … Reply by Gribouillis
Member Avatar
Topic by floris in Databases
Technically, MySql is not a database server. It is a database engine and the engine plus the supporting hardware/software constitutes a database server. A **database**, however, is the set of tables/stored procedures, etc. specific to an implementation. That is why we refer to things like an employee database or a … Reply by Reverend Jim
Member Avatar
Topic by floris in Databases
I'd submit that what is listed above are not database servers. They are databases. That may in fact have been the intent of the ask which is fine, but apps do not equal servers. Reply by Tom_31
Member Avatar
random_1 15 Replied To a Post in Reading a .raw file and display as hex
Topic by random_1 in Software Development
hmm. it only displayes a few dozen lines of the **end** of the file. so then i tried:

with open(fileName, "rb") as infile:
content = infile.read(1024)

it read the first 56 lines of the file which i guess is because of `1024`. so `read(size)` is good, now i gotta figure … Reply by random_1
Member Avatar
rproffitt 1,088 Replied To a Post in Vb6 Take ScreenShot with Form2 X , Y area
Topic by razamughal67 in Programming
You left out your code and where you are having problems. How to take a screenshot is on the web so that can't be the problem. In VB6 a form's properties can be found and more so that's not the issue either.

Try again but share where you got stuck. … Reply by rproffitt
Member Avatar
rproffitt 1,088 Replied To a Post in Powerpoint presentation templates
Topic by Brian_32 in Software Development
Your first question needs you to tell more. As to the second, I used google to find such things. All sorts arrive here. Many are just so new they never heard of or used a search engine. Here's a tutorial for you: https://www.google.com/intl/en-us/insidesearch/searcheducation/ Reply by rproffitt
Member Avatar
Is it good variant to create stunning presentation? Where can I find professional templates? Topic by Brian_32 in Software Development
Member Avatar
Topic by Ricky_8 in Web Development
php
are you passing the `id` variable in the link to the page? When you do a $_REQUEST['id'] its looking for `?id=1 or ?id=testuser` in the link from the previous page. Reply by patk570
Member Avatar
jwenting 1,620 Replied To a Post in Is DW alive?
Topic by devs4p in DaniWeb Community Feedback

> Why is DW in the current state? What (or who) contributed to it?

The massive flood of homework kiddos dumping their highschool programming assignments verbatim caused many of the regulars to stop even bothering to browse the programming forums.

Combine that with the very high incidence of spambots in … Reply by jwenting
Member Avatar
patk570 42 Replied To a Post in php,mysql
Topic by Sameer_10 in Web Development
Whats the error? and you are also wide open to [SQL Injection](https://www.w3schools.com/sql/sql_injection.asp). After `$qur` put `or die("Mysqli Error: " $qur");` Reply by patk570
Member Avatar
Gribouillis 1,391 Replied To a Post in Reading a .raw file and display as hex
Topic by random_1 in Software Development
Don't use `readline()` with binary files, because they are not organized in lines. If this is a big file, invoke `read()` with a size argument to read iteratively chunks of binary data.

with open(filename, 'rb') as infile:
while True:
data = infile.read(1024)
if not data:
break # we have reached … Reply by Gribouillis
Member Avatar
Hello experts i need help about screenshot code.

i have two form ( Form1 & Form2 ) form1 have one button and picturebox. and form two is empty.
i want to take screenshot with form width and Height. mean's where i move form2 and press Command1 button on form1 then … Topic by razamughal67 in Programming
Member Avatar
Hello experts i need help about screenshot code.

i have two form ( Form1 & Form2 ) form1 have one button and picturebox. and form two is empty.
i want to take screenshot with form width and Height. mean's where i move form2 and press Command1 button on form1 then … Topic by razamughal67 in Programming
Member Avatar
random_1 15 Replied To a Post in Reading a .raw file and display as hex
Topic by random_1 in Software Development
I read that using `.readline()` and `for` loop is better for huge files so i tried that but it only read the **last** hundred lines of the file.

with open(fileName, "rb") as infile:
for lines in infile:
content = infile.readline() Reply by random_1
Member Avatar
random_1 15 Replied To a Post in Reading a .raw file and display as hex
Topic by random_1 in Software Development
ohhh.. I though `1` was like a default ot something. so `1` literally means read 1 byte? This is good for a couple of thousand lines but what about a 100 thousand lines? is there a python function/module for this? Reply by random_1
Member Avatar
Topic by Ricky_8 in Web Development
php
**i can view name, address, contact No, Loan Amount, Loan Date and Interest Rate correctly the only problem is the ID** Reply by Ricky_8
Member Avatar
<?php
require('db.php');
include("auth.php");
$id=$_REQUEST['id'];
$query = "SELECT * from new_record where id='".$id."'";
$result = mysqli_query($con, $query) or die ( mysqli_error());
$row = mysqli_fetch_assoc($result);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>View Records</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="form">
<p align='center'><a href="index.php">Home</a> | <a href="view.php">View Account</a> | <a href="logout.php">Logout</a></p> … Topic by Ricky_8 in Web Development
php
Member Avatar
<?php
require('db.php');
include("auth.php");
$id=$_REQUEST['id'];
$query = "SELECT * from new_record where id='".$id."'";
$result = mysqli_query($con, $query) or die ( mysqli_error());
$row = mysqli_fetch_assoc($result);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>View Records</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="form">
<p align='center'><a href="index.php">Home</a> | <a href="view.php">View Account</a> | <a href="logout.php">Logout</a></p> … Topic by Ricky_8 in Web Development
php
Member Avatar
rproffitt 1,088 Replied To a Post in how windows xp is upgraded into win 10?
Topic by chinkey in Hardware and Software
I've never heard of such an upgrade path. The deal for a free up from 7 or 8 to 10 is now at its end so for you to do this you have to buy some Windows 10 version and install it. Of course you have a lot of work … Reply by rproffitt
Member Avatar
Featured gentlemedia 568 Replied To a Post in Set one of button parameters to a textarea's value
Topic by Mr.M in Web Development
This will do it


function checkmax(el) {

if(el.value.length == 9) {

$(function() {
$('#dCell').change(function() {
var dCell = $(this).val();
$('#cCart').data('name', dCell)
});
});

} else {

}

}

See here: https://codepen.io/gentlemedia/pen/ZvMgBJ Reply by gentlemedia
Member Avatar
Featured Dani 1,665 Created how windows xp is upgraded into win 10?
how windows xp is upgraded into win 10? Topic by chinkey in Hardware and Software
Member Avatar
Featured rproffitt 1,088 Replied To a Post in network traffic routes
Topic by lewashby in Networking
If it's like mine, you did it right.

Internet -> Router w/WiFi -> Switch -> wired devices.

All the wired devices can talk among themselves with an exception being if an app uses the internet to talk to other things. But file copies, normal stuff just is traffic on the … Reply by rproffitt
Member Avatar
Featured lewashby 25 Marked Solved Status for network traffic routes
I have a router in one room of my house and wires running through the house into my bedroom where it's connected to a switch that further connected to several different computers in my room. What I am wanting to know is how the traffic flows from one computer to … Topic by lewashby in Networking
Member Avatar
Featured lewashby 25 Marked Solved Status for network traffic routes
I have a router in one room of my house and wires running through the house into my bedroom where it's connected to a switch that further connected to several different computers in my room. What I am wanting to know is how the traffic flows from one computer to … Topic by lewashby in Networking
Member Avatar
Featured lewashby 25 Marked Solved Status for network traffic routes
I have a router in one room of my house and wires running through the house into my bedroom where it's connected to a switch that further connected to several different computers in my room. What I am wanting to know is how the traffic flows from one computer to … Topic by lewashby in Networking
Member Avatar
Featured lewashby 25 Replied To a Post in network traffic routes
Topic by lewashby in Networking
One more thing. Why is the article labled 'Featured'? Thanks. Reply by lewashby
Member Avatar
Featured lewashby 25 Replied To a Post in network traffic routes
Topic by lewashby in Networking
Thanks. I was worried the traffic was traveling all the way to the router and back to the switch in which case it would slow down other traffic in the house that uses things like netflix. Reply by lewashby
Member Avatar
Featured rproffitt 1,088 Replied To a Post in network traffic routes
Topic by lewashby in Networking
Need a little more. In a switched network if machine a and b are on the same switch the traffic is direct between a and b and no other network device sees a thing. Kind of like Master Sergeant Schultz,

> I see nothing! I hear nothing! I know nothing! Reply by rproffitt
Member Avatar
Featured lewashby 25 Created network traffic routes
I have a router in one room of my house and wires running through the house into my bedroom where it's connected to a switch that further connected to several different computers in my room. What I am wanting to know is how the traffic flows from one computer to … Topic by lewashby in Networking