in reply to Re: Getting a value from a PHP script
in thread Getting a value from a PHP script

You have an SQL injection vulnerability there.

Forgive my ignorance, but what is an "SQL injection vulnerability"?

--
Microsoft delendum est.
  • Comment on Re: Re: Getting a value from a PHP script

Replies are listed 'Best First'.
Re^2: Getting a value from a PHP script
by Aristotle (Chancellor) on Sep 18, 2002 at 23:27 UTC
Re: Re: Re: Getting a value from a PHP script
by thunders (Priest) on Sep 19, 2002 at 00:49 UTC

    you'll notice in the code sample i provided i threw in a quesion mark. that is a place holder, a way of ensuring proper quoting with DBI. I'm not sure how PHP implements this. if someone were to spoof their REMOTE_USER string to report
     bill' OR 'cracked'='cracked

    you suddenly have a breach where all the data in that table is pulled in.