Toggle navigation
Free!
CSS Obfuscator
Link Obfuscator
HTML Obfuscator
AjaxNewsTicker
AjaxCountDown
Ajax Poll Script
php Infinite Scroll
Scripts
Text Ad Script
Ajax Likes Script
Fade-In Slideshow
Ajax Poll Admin
Ajax Poll DBV
HObfus
Support
Contact Us
Ask a pre-sales question
Submit a support ticket
Free estimate request form
AjaxNewsTicker
AjaxCountDown
php Infinite Scroll
Fade-In Slideshow
Text Ad Script
Online CSS Obfuscator
Online Link Obfuscator
Online HTML Obfuscator
HObfus
Ajax Likes Script
Ajax Poll Admin
Ajax Poll DBV
Ajax Poll Script
Posted by
Rafal
2013-11-02
If someone have that problem when ip-block.txt works but voting doesn't work - as Tom said - disable magic quotes BUT if you have problem with .htaccess or php.ini you can add few lines in ajax-poll.php, that worked for me:
if (get_magic_quotes_gpc ()) {
function stripslashes_deep($value) {
$value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
return $value;
}
$_POST = (isset($_POST) && !empty($_POST)) ? array_map('stripslashes_deep', $_POST) : array();
$_GET = (isset($_GET) && !empty($_GET)) ? array_map('stripslashes_deep', $_GET) : array();
$_COOKIE = (isset($_COOKIE) && !empty($_COOKIE)) ? array_map('stripslashes_deep', $_COOKIE) : array();
$_REQUEST = (isset($_REQUEST) && !empty($_REQUEST)) ? array_map('stripslashes_deep', $_REQUEST) : array();
}
Cheers!
→
Ajax Poll Script
Posted by
Tom
2013-11-03
Thanks for the code!
→
Ajax Poll Script
if (get_magic_quotes_gpc ()) {
function stripslashes_deep($value) {
$value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
return $value;
}
$_POST = (isset($_POST) && !empty($_POST)) ? array_map('stripslashes_deep', $_POST) : array();
$_GET = (isset($_GET) && !empty($_GET)) ? array_map('stripslashes_deep', $_GET) : array();
$_COOKIE = (isset($_COOKIE) && !empty($_COOKIE)) ? array_map('stripslashes_deep', $_COOKIE) : array();
$_REQUEST = (isset($_REQUEST) && !empty($_REQUEST)) ? array_map('stripslashes_deep', $_REQUEST) : array();
}
Cheers!