Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Anyone See A Problem With this code?
Old 03-18-2008, 07:20 PM Re: Anyone See A Problem With this code?
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
Quote:
Originally Posted by VirtuosiMedia View Post

However, it's very important NOT to just insert information you get from a form directly into database. Look up SQL injection attacks and you'll learn about a lot of security problems that you can avoid by sanitizing your data. If you don't do this, your site could be hacked very easily.

I looked up a few articles on this subject and see how this could be a huge problem. Thanks for the tip, I will get into that more a bit leter in the script.
as of right now this form is going to be used only by me...Will adding a password to the web dir so I can keep the form itself from being used by anyone other then myself prevent any such attacks?
__________________
visit my link...um...nevermind
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
 
Register now for full access!
Old 03-18-2008, 08:13 PM Re: Anyone See A Problem With this code?
VirtuosiMedia's Avatar
Web Design Made Simple

Posts: 1,228
Trades: 0
Only if people can't get into the directory. You should still escape the data, though, even if you're the only one that's going to use it.
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Reply     « Reply to Anyone See A Problem With this code?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29922 seconds with 11 queries