Hello,
I'm trying to write an API call and when I put in the following content for one of the values - Pabbly won't allow it to save. Does it have something to do with the PHP?
<?php
/// code to hide the regex if you are logged into the website as an admin. In this case, it is if the admin can see the admin bar on the left for security.
/// You can replace this with something like if ($_GET['admin'] == 1), and you can add ?admin=1 in the URL, but this obviously less secure.
if (xyz::canAdminViewAdminBar()) {
/// no regex, admin is logged in
} else {
/// no admin, show regex - last updated 12/28/24 - last rolled out on 12/28/24
// spam submitted on SLD 2/2/24
echo "^((?!XXXXXXXXXXXXXXX).)*$";
}
?>
I'm trying to write an API call and when I put in the following content for one of the values - Pabbly won't allow it to save. Does it have something to do with the PHP?
<?php
/// code to hide the regex if you are logged into the website as an admin. In this case, it is if the admin can see the admin bar on the left for security.
/// You can replace this with something like if ($_GET['admin'] == 1), and you can add ?admin=1 in the URL, but this obviously less secure.
if (xyz::canAdminViewAdminBar()) {
/// no regex, admin is logged in
} else {
/// no admin, show regex - last updated 12/28/24 - last rolled out on 12/28/24
// spam submitted on SLD 2/2/24
echo "^((?!XXXXXXXXXXXXXXX).)*$";
}
?>