Jump to content

Words our code doesn't like - bug/question


Recommended Posts

Posted (edited)

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
Posted (edited)

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
Posted

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.

Posted

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Forum Statistics

    17.5k
    Total Topics
    182.1k
    Total Posts
  • Recently Browsing

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

×
×
  • Create New...