Welcome Guest, Not a member yet? Register   Sign In
How can I secure this little.
#3

[eluser]phantom-a[/eluser]
Thanks Frank that works. Smile Except for that ob_end_clean() it makes a PHP error occur.

What about if someon inserts a letter into the ID? like hits/1a
It throws instead a SQL error.


Quote:A Database Error Occurred
Error Number: 1054
Unknown column '1a' in 'where clause'
SELECT `url` FROM `links` WHERE `id`=1a


Messages In This Thread
How can I secure this little. - by El Forum - 09-07-2008, 08:37 PM
How can I secure this little. - by El Forum - 09-07-2008, 09:23 PM
How can I secure this little. - by El Forum - 09-07-2008, 11:30 PM
How can I secure this little. - by El Forum - 09-08-2008, 12:09 AM
How can I secure this little. - by El Forum - 09-08-2008, 12:39 AM
How can I secure this little. - by El Forum - 09-08-2008, 12:55 AM
How can I secure this little. - by El Forum - 09-08-2008, 01:09 AM
How can I secure this little. - by El Forum - 09-08-2008, 02:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB