Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
mySQL security
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="muso" data-source="post: 8686" data-attributes="member: 40"><p>You mean post to PHP_SELF() or whatever, and have the database script in the same file?</p><p></p><p>Do single quotes prevent mySQL commands being entered? I think the only way I could even get the form data into the database was to use something like:</p><p>insert into table values('$first_name', '$last_name')</p><p>Is that secure, if I use stripslashes with it?</p></blockquote><p></p>
[QUOTE="muso, post: 8686, member: 40"] You mean post to PHP_SELF() or whatever, and have the database script in the same file? Do single quotes prevent mySQL commands being entered? I think the only way I could even get the form data into the database was to use something like: insert into table values('$first_name', '$last_name') Is that secure, if I use stripslashes with it? [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
mySQL security
Top