Member Avatar
I'm trying to build a client and a server in the same program. For example, user 1 sends a packet of data to user 2, user 2 after receiving the packet sends back a different packet to user 1. The problem is, after running the program neither user receives the … Topic by Me in Software Development
c++
Member Avatar
rproffitt 1,234 Replied To a Post in Prepared Statement to prevent SQLIA
Topic by davy_yg in Information Security
https://www.w3schools.com/php/php_mysql_prepared_statements.asp notes SQLIA and why we use this method.

As to your question, why not echo/print the query before you pass it to the actual execute()? Reply by rproffitt
Member Avatar
Topic by annya in Web Development
php
Any one can help me on this it was very urgent.. Reply by annya
Member Avatar
rproffitt 1,234 Replied To a Post in Genetic Algorithm
Topic by Leonardo_6 in Software Development
@L. There you used "it" again. To ask me to jump through hoops (nod to RJ) to get the code, decode/read to figure out your logic is quite the high jump.

Where's your design document? That is, in psuedo code or English, how your code works. Sometimes folk proceed right … Reply by rproffitt
Member Avatar
rproffitt 1,234 Gave Reputation to Reverend Jim in Genetic Algorithm
Topic by Leonardo_6 in Software Development
I think you might also get more input if you posted your code here instead of making people jump through hoops at another site to get to it. Also, this thread will be of no use to anyone else in the event that your code is removed from the other … Reply by Reverend Jim
Member Avatar
I'm trying to build a client and a server in the same program. For example, user 1 sends a packet of data to user 2, user 2 after receiving the packet sends back a different packet to user 1. The problem is, after running the program neither user receives the … Topic by Me in Software Development
c++
Member Avatar
Reverend Jim 2,391 Replied To a Post in Genetic Algorithm
Topic by Leonardo_6 in Software Development
I think you might also get more input if you posted your code here instead of making people jump through hoops at another site to get to it. Also, this thread will be of no use to anyone else in the event that your code is removed from the other … Reply by Reverend Jim
Member Avatar
Sakil_2 Created HTML
I want to learn Topic by Sakil_2 in Web Development
Which will be the expected SEO Trends for 2018? Topic by Naveen_25 in Search Engine Strategies
Member Avatar
Featured masijade 1,351 Replied To a Post in It lives, it lives!
Topic by JamesCherrill in Community Center
Hey James, Dani.

Glad to hear it. I no longer have much time to look in here, but glad to see it is still around, and still willing to take, and act on, user input. Reply by masijade
Member Avatar

I have css animation for preloader.

I need help to update content smoothly without redirecting page, using following functions

$(window).on("popstate", function() { });

window.history.pushState({path: ""},"","");

Update link & content of next page after preloader progressbar animation ends `webkitTransitionEnd ` without redirecting to page.

Need help to complete following functions

function … Topic by tun712 in Web Development
php
Member Avatar
Featured joshl_1995 22 Revoked Solved Status for How to get access to the routers on my network
Hello DaniWeb Community,
I've recently switched to a cable internet service and with the modem/router [our provider](https://www.iinet.net.au/) sent us which is a modem/router and the parental controls on it are crap so I've had to hook up our old router for the kids (dedicated for them).
So what I'm wanting … Topic by joshl_1995 in Networking
Member Avatar
Featured joshl_1995 22 Marked Solved Status for How to get access to the routers on my network
Hello DaniWeb Community,
I've recently switched to a cable internet service and with the modem/router [our provider](https://www.iinet.net.au/) sent us which is a modem/router and the parental controls on it are crap so I've had to hook up our old router for the kids (dedicated for them).
So what I'm wanting … Topic by joshl_1995 in Networking
Member Avatar
Featured joshl_1995 22 Marked Solved Status for How to get access to the routers on my network
Hello DaniWeb Community,
I've recently switched to a cable internet service and with the modem/router [our provider](https://www.iinet.net.au/) sent us which is a modem/router and the parental controls on it are crap so I've had to hook up our old router for the kids (dedicated for them).
So what I'm wanting … Topic by joshl_1995 in Networking
Member Avatar
davy_yg 2 Replied To a Post in SQLIA UNION Query
Topic by davy_yg in Information Security
Okay let's say:

SELECT username, password FROM Users WHERE Id=$id by
injecting the following-
Id value: $id=1 UNION ALL SELECT username, passsword
FROM Othertable

We will have the following query: -

SELECT username, password FROM Users WHERE Id=1
UNION ALL SELECT username, password FROM
Othertable

-----------------------

Now what's the point … Reply by davy_yg
Member Avatar
davy_yg 2 Created Preventing SQLIA

How to prevent Illegel/ Logically Incorrect Queries?

Illegal/Logically Incorrect Queries

1)Original
URL:http://www.arch.polimi.it/eventi/?id_nav=886
2)SQLInjection:
http:/`/www.arch.polimi.it/eventi/?id_nav=8864'
3) Error message showed:
SELECT name FROM Employee WHERE id =8864\' from
the message error we can find out name of table and fields:
name; Employee; id. By the gained information attacker can
arrange more strict … Topic by davy_yg in Information Security
Member Avatar
Leonardo_6 Replied To a Post in Genetic Algorithm
Topic by Leonardo_6 in Software Development
I'm sorry for not being so specific, first time asking for help online.
So, I did understand the logics behind a genetic algorithm and I'm trying to apply it without copying anyone's code. I wask kind of succesful, but the population doesn't evolve at all, it keeps creating individuals with … Reply by Leonardo_6
Member Avatar
davy_yg 2 Replied To a Post in Prepared Statement to prevent SQLIA
Topic by davy_yg in Information Security
Let say :

$stmt = $dbh->prepare("SELECT * FROM users WHERE userID = $id");
$stmt->bindParam(':id', $name);

If I input: userID: tom' or '1'='1

What will be detected as the userID ? What will the query be like?

This is taken from the article. I only add the prepared statement. Reply by davy_yg
Member Avatar
rproffitt 1,234 Replied To a Post in Genetic Algorithm
Topic by Leonardo_6 in Software Development
PS. [https://www.google.com/search?q="thrower"+genetic+algorithm+examples](https://www.google.com/search?q="thrower"+genetic+algorithm+examples) might find working examples but it's a stretch to expect others to read your code to figure out what it does and why it does not work.

Again, avoid "it doesn't work" posts and replies. Reply by rproffitt
Member Avatar
overwraith 87 Began Watching Genetic Algorithm
Could anyone please review my code
https://github.com/LeoUpperThrower4/GeneticAlgorithm Topic by Leonardo_6 in Software Development
Member Avatar
rproffitt 1,234 Replied To a Post in Genetic Algorithm
Topic by Leonardo_6 in Software Development
Let's go with I gave my thoughts on review (get your code up to standard.) Now you reveal it's not working.

That's far too vague and asking a lot for folk to slog through the entive app.

Pare it down to just the line you can't get to work. Where … Reply by rproffitt
Member Avatar
Leonardo_6 Replied To a Post in Genetic Algorithm
Topic by Leonardo_6 in Software Development
Check why its not working Reply by Leonardo_6
[LEFT]Hi, Im a newbie in tis networking stuff. Recently I juz bought a netgear G wireless router model wgp614 v.6. I followed thru the steps in the cd connecting my ethernet modem to router & router to pc but Im not able to connect to Internet. Ive done it a … Topic by ladycharmed in Networking
Member Avatar
rproffitt 1,234 Began Watching Genetic Algorithm
Could anyone please review my code
https://github.com/LeoUpperThrower4/GeneticAlgorithm Topic by Leonardo_6 in Software Development
Member Avatar
Could anyone please review my code
https://github.com/LeoUpperThrower4/GeneticAlgorithm Topic by Leonardo_6 in Software Development
Member Avatar
Hello,

I am trying to understand prepared statement and what it does.

https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet#Defense_Option_1:_Prepared_Statements_.28Parameterized_Queries.29

"Prepared statements ensure that an attacker is not able to change the intent of a query, even if SQL commands are inserted by an attacker. In the safe example below, if an attacker were to enter the … Topic by davy_yg in Information Security
Member Avatar
I take a Facebook page for my website. Please, some tips to get at least 1k likes in a month? Topic by santhoshsocial in Digital Media
Member Avatar
My computer keeps zoning out. Losing Wifi connection and when I "fix" the wifi adapter soon after it notifies me that the "wifi does not have a valid IP configuration" and then, it re-connects itself and it's fine for a while..then zones out again. I would appreciate it if someone … Topic by LynnCarter62 in Microsoft Windows
Member Avatar
rproffitt 1,234 Began Watching systemd vs upstart
What are your thoughts on systemd vs upstart? which one is better? Topic by joey065z in Hardware and Software
Member Avatar
Hello,

I am trying to understand prepared statement and what it does.

https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet#Defense_Option_1:_Prepared_Statements_.28Parameterized_Queries.29

"Prepared statements ensure that an attacker is not able to change the intent of a query, even if SQL commands are inserted by an attacker. In the safe example below, if an attacker were to enter the … Topic by davy_yg in Information Security