Skip to content
View in the app

A better way to browse. Learn more.

MagicDuel Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Words our code doesn't like - bug/question

Featured Replies

I have no idea what's going on here. I'm aware that there are words the code doesn't like, like "ini", "try" and many others. Because i hate avoiding all those random letter-combinations, i almost always write my texts in the content-bit and go with 

echo @content[x]

 

for the php-bit, to avoid issues.
 
But now i found something the code seems to hate even more, "terror".
 
When your text contains "terror" on the content-side and you let the php-side echo that specific content, it works, but shows the whole block of text as warning message before working.
 
Why is that, and are there other words that make the code choke? Because it took me ages to find what actually triggered it in that block of text i wanted echoed -.-

Edited by Burns

  • Author

indeed, it dislikes the "error" bit about it, not the whole word :))

 

still, same issue, why does it do that?! it should just echo the freaking contents, not bother about them -.-

Edited by Burns

  • Root Admin

Because thats how rendril coded it. To try and ensure people dont write bad php and break MD... or worse.

 

Changes could be, removing MD script entirely, leaving it for rendril to fix when he gets back soon, i look at it.

 

I think the second option is a nice one.

  • Author

Mhew, as long as it doesn't happen regularly...

 

Do you happen to know if there are other words that would cause that to happen?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Forum Statistics

  • Total Topics 17.5k
  • Total Posts 182.2k

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.