[Pmwiki-users] IncludeAble hack needs help

Joris joris at linux.be
Sun Jun 22 03:03:10 CDT 2003


On Sat, Jun 14, 2003 at 09:02:28AM -0600, Patrick R. Michaud wrote:
> On Sat, Jun 14, 2003 at 08:49:18AM +0200, Joris wrote:
> > 
> > I need some help with what happens after you hit the 'save' button, the
> > wiki isn't displayed then. Also, I meight have done some stupid things.
> > I invite everyone to take a look...
> > The paragraph "After editing" describes the biggest problem in detail.


> to disk, then sends a Location: header to the browser to tell the
> browser to load the updated page via a normal HTTP GET (instead of the HTTP
> POST operation that the browser just did).

> The best solution I can come up with is to develop a "wrapper" script
> that can be called when pmwiki.php is to be embedded in another
> page.
I've been brainstorming a little with some phpheads, the conclusion was
that the easiest solution would be to teach the wrapper script (included at
the beginning of the page of course) to put the Location: $pageurl in the
header if the refering page has a PUT REQUEST_METHOD.


I think the wrapper script is an exellent idea of yours. It will
probably allow to solve all link problems...

Programming mode ON :)


Ps: my apologies for my absence in replying. Exams...
-- 
  Greetings
  Joris
  joris at linux.be // dilute spam: http://www.monkeys.com/wpoison/




More information about the pmwiki-users mailing list