Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: ProPHPSecurity_excerpt

Message # 1510003:
Date: 05/20/07 07:10
By: Demon
Subject: Just a question

you say this and you say that and i say what you typed there is common sence.
my question is simple.
lets say you have a select * from query goin to the database to fetch data or save data or what eve dont really care what it does.
a user can input text with in the text box to gain data or save data with in the database.
now strpos works kinda on stopping most attachs like html bs but when you use strpos to stop the select * from it wont work.
so a user can input tat into a box and gain info back.
question is how do you prevent a user from typing any thing that deals with the database querys.
dont say you cant cause i am sure you can i just need to know how.

Previous Message | Next Message


Comments:
Just a questionDemon05/20/07 07:10
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.