XLCR GODFATHER
04-19-2010, 04:35 PM
I currently have a mod installed on my forum that runs a query every time a new user registers.
This query duplicates their information into another script I am running on my site.
When vBulletin updated the security it caused the vb salt to start generating 30 characters instead of 3
included in the range of charecters is a '
which is causing the query to fail and in turn giving a database error.
The attached file needs the string for the query to be escaped to allow for the vb salt to be entered into the database correctly when the query is run.
a description of the solution is available at http://us.php.net/manual/en/function.mysql-real-escape-string.php
I was provided this solution by a vbulletin admin and the solution makes perfect sense but I am not familiar with PHP or MY SQL enough to know how to properly implement it.
Any help I can get would be greatly appreciated!
This query duplicates their information into another script I am running on my site.
When vBulletin updated the security it caused the vb salt to start generating 30 characters instead of 3
included in the range of charecters is a '
which is causing the query to fail and in turn giving a database error.
The attached file needs the string for the query to be escaped to allow for the vb salt to be entered into the database correctly when the query is run.
a description of the solution is available at http://us.php.net/manual/en/function.mysql-real-escape-string.php
I was provided this solution by a vbulletin admin and the solution makes perfect sense but I am not familiar with PHP or MY SQL enough to know how to properly implement it.
Any help I can get would be greatly appreciated!