If you want to escape special characters on .bat-files for windows, you need to put a
^ in front of it.
I noticed this, while trying to write a ">" to a file with one line.
echo test=^<info^> > test.txt
This writes "test=
If you want to escape special characters on .bat-files for windows, you need to put a
^ in front of it.
I noticed this, while trying to write a ">" to a file with one line.
echo test=^<info^> > test.txt
This writes "test=
Today I finished the small
introduction in lua's powerful table element. Even though it shows most of the intuitive design of tables in lua, its good if you also have a look at the pages of the other table-functions like table.concat, to get detailed examples.
When trying to include a utf-8 encoded file with an anis-encoded php script, I got an error that the headers have already been send (PHP 5.1.6).
So stick with one encoding to prevent such issues.
When trying to update (creation works well) a post, which has attachements it often (nearly) happens that my mysql 5.0.18 crashes.
I looked into the statement and saw that it shouldn't be (around line 568):
( a.attachmentType =3 AND thumbparent.IDTHUMB = a.ID_ATTACH ) ```mysql 5 doesn't crash when using this instead:
( thumbparent.IDTHUMB = a.ID_ATTACH AND a.attachmentType =3 ) ```Basicly this seems to be an mysql 5.0 issue, but this quickfix helped me to keep my site working with smf attachements.
I posted already a
bugreport on official simplemachines site.