13-May-2012, 08:12 PM
This is the community forum. For a developer response use the Client Area.
15-May-2012, 06:45 PM
Hi,
I agree it looks like it will be a while before Magic Quotes is completely gone. Also, I agree it can be difficult in some cases to disable it using php.ini.
I actually experimented a few months ago with the same solution that you posted. And although it worked, I was hesitant to add it because of the following two reasons:
1. What happens if the solution is enabled but Magic Quotes is not enabled? This could happen if the user enables the solution now and then eventually in the future Magic Quotes is removed from PHP. Will the user know to disable the solution at the right time.
2. The solution (on the frontend) would affect the entire page, and not just Commentics. What if the user has another script on the page which relies on Magic Quotes being enabled? This could pose a security threat.
I agree it looks like it will be a while before Magic Quotes is completely gone. Also, I agree it can be difficult in some cases to disable it using php.ini.
I actually experimented a few months ago with the same solution that you posted. And although it worked, I was hesitant to add it because of the following two reasons:
1. What happens if the solution is enabled but Magic Quotes is not enabled? This could happen if the user enables the solution now and then eventually in the future Magic Quotes is removed from PHP. Will the user know to disable the solution at the right time.
2. The solution (on the frontend) would affect the entire page, and not just Commentics. What if the user has another script on the page which relies on Magic Quotes being enabled? This could pose a security threat.
16-May-2012, 06:40 AM
TRUE - my idea was not good, can cause problems ...
lp, stariocek
lp, stariocek
16-May-2012, 04:16 PM
Yes. Disabled by default and with big red alert on admin pannel when false.
Or even mail to admin email address when false?
if (quotes_in_system == false) && (admin_quotes_filter == enabled)
{
small_mail_flood_to_admin ;
}
else
{
}
Or even mail to admin email address when false?
if (quotes_in_system == false) && (admin_quotes_filter == enabled)
{
small_mail_flood_to_admin ;
}
else
{
}
« Next Oldest | Next Newest »
Possibly Related Threads…
Thread / Author
Replies
Views
Last Post
Users browsing this thread: 1 Guest(s)