ewiki

binary.php

If yoursite.php (ewiki wrapper) is not designed carefully enough
(=not binary safe, because <html> or text is written before the
ewiki.php core script got included) or EWIKI_SCRIPT_BINARY+ cannot be
set correctly, you may want to use this wrapper script to allow for
uploading and retrieval of binary content (images) via ewiki.

Copy it to where the main ewiki.php script is, and set the
EWIKI_SCRIPT_BINARY+ constant to the correct absolute position
(possibly including http://server.name/) of "binary.php".  (this
constant must be set on top of ewiki.php)

You must set the database access params in here, too.

It may also be useful if you'd like to divide the database into its
two parts again - text content and binary content. You could even
let it save binary content in a flat file database, while WikiPages+
remain in a RDBMS.
prev << "binary.php"
next >> "force_lang_de.php"


You cannot modify the README.fragments file, but anyhow any ideas or suggestion should as usually get filed on BugReports, UserSuggestions or even better the README.fragments.Discussion.