Hack Forums
[.NET] VB.NET Login & Registration System PHP SQL [Semi beginner] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] VB.NET Login & Registration System PHP SQL [Semi beginner] (/showthread.php?tid=4609918)

Pages: Pages 1 2 3


* - Only3 - Dec 30, 2014

(Dec 30, 2014 09:54 AM)Cornflower Blue இڿڰۣ-ڰۣ— Wrote:  That was the joke, this is worse then doing nothing, get it?

😁 yhe but i want u to write it 🤣


* - +Haze - Dec 30, 2014

Edit: I am working on a version of this that is protected against SQL Injection.


* - SIM-1456245 - Dec 30, 2014

(Dec 30, 2014 09:54 AM)Cornflower Blue இڿڰۣ-ڰۣ— Wrote:  That was the joke, this is worse then doing nothing, get it?

Wut, wut ??? Banned and repfucked ?


* - +Haze - Dec 30, 2014

(Dec 30, 2014 10:10 AM)Electroalek Wrote:  Wut, wut ??? Banned and repfucked ?

Do you think I should just update the thread with the more secure SQL code?
Or make a new thread because of all the shit storm on this thread.


* - ubbelol - Dec 30, 2014

(Dec 30, 2014 10:23 AM)+Haze Wrote:  Do you think I should just update the thread with the more secure SQL code?
Or make a new thread because of all the shit storm on this thread.

Both, there's so much bullshit in this thread.


* - SIM-1456245 - Dec 30, 2014

(Dec 30, 2014 10:23 AM)+Haze Wrote:  Do you think I should just update the thread with the more secure SQL code?
Or make a new thread because of all the shit storm on this thread.

New thread with improved code.

1) Use POST with some sort of token
2) Use real_escape_string as the easiest way of eliminating SQLi attacks


* - +Haze - Dec 30, 2014

(Dec 30, 2014 10:25 AM)ubbelol Wrote:  Both, there's so much bullshit in this thread.

Sure.

(Dec 30, 2014 10:28 AM)Electroalek Wrote:  New thread with improved code.

1) Use POST with some sort of token
2) Use real_escape_string as the easiest way of eliminating SQLi attacks

But this will defeat the purpose? I was thinking of using a POST request at first, but get seems to explain the concept I was trying to portray in an easier way.


* - Only3 - Dec 30, 2014

just use pdo or escape the string whats all about if some one going to c&p this example as login register system then he stupid


* - SIM-1676753 - Dec 30, 2014

PDO > All this bullshit. PDO is the way to go.


* - $lick - Dec 30, 2014

Haze, add me on Skype, need to talk to you about PHP.


* - +Haze - Dec 30, 2014

No.

@All, I'm going to create a new thread with the new improved version.


* - mechic123 - Dec 30, 2014

Thanks, very good work i will try this. 🤝


* - +Haze - Dec 30, 2014

https://hackforums.net/showthread.php?tid=4610630

here is the improved version.