/* commented this function out because i accidentally deleted something. i'll figure out what it was later. -Kevin function set_globals() { foreach(array($_GET, $_POST, $_SESSION) as $arr) { global $$vname; $$vname = $vval; // echo $$vname . "=" . $vval; } } } */ /* Kevin, here is the code copied from a brand-new phpwiki, but I can't get it to work. -- Pepi 11/18/06 */ function set_globals() { foreach(array($_GET, $_POST, $_SESSION) as $arr) { if(is_array($arr)) foreach($arr as $vname => $vval) { global $$vname; $$vname = $vval; // echo $$vname . "=" . $vval; } } } /* uncommented the first line, commented the second line, to get captchas to work. -Kevin Finity, 11.02.06 */ session_start(); //set_globals(); ?>
PhpWikiAdministration |
To Do List Agenda Proposals Promotions Conference Finance Minutes By-Laws |
CU2C2 Board Wiki Home | Top | Bottom | Contacts This works only if you are logged in as ADMIN.Go to http://yourhost.yourdomain/yourwikidir/admin.php. ZIP files of databaseZIP Snapshot : contains only the latest versions ZIP Dump : contains all archived versions These links lead to zip files, generated on the fly, which contain the most recent versions of all pages in the PhpWiki. The pages are stored, one per file, as MIME (RFC2045) e-mail (RFC822) messages, with the content type application/x-phpwiki for the snapshot and content type multipart/mixed for the dump. In the latter case, there is one subpart (with type application/x-phpwiki) for each version of the page (in chronological order). The message body contains the page text, while the page meta-data is included as parameters in the Content-Type: header field. Load / Dump Serialized PagesHere you can load or dump pages of your Wiki into a directory of your choice. Dump %%ADMIN-INPUT-dumpserial-Dump_serialized_pages%% Pages will be written out as "serialized" strings of a PHP associative array, meaning they will not be human readable. If the directory does not exist PhpWiki will try to create one for you. Ensure that your server has write permissions to the directory! Load %%ADMIN-INPUT-loadserial-Load_serialized_pages%% If you have dumped a set of pages from PhpWiki, you can reload them here. Note that pages in your database will be overwritten; thus, if you dumped your FrontPage when you load it from this form it will overwrite the one in your database now. If you want to be selective just delete the pages from the directory you don't want to load. |
EditText of this page
(last edited August 26, 2001)
[info]
[diff])
FindPage by browsing or searching 5 best incoming links: RecentChanges (7) 5 best outgoing links: PhpWiki (15), FrontPage (11) 5 most popular nearby: RecentChanges (7136), FrontPage (1577), PhpWiki (1185) |