|
Re: IncludeAble hack needs help: msg#00125web.wiki.pmwiki.user
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@xxxxxxxx // dilute spam: http://www.monkeys.com/wpoison/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Restricting search groups: 00125, Patrick R. Michaud |
|---|---|
| Next by Date: | Re: Page preview can now be implemented rather easy: 00125, John Rankin |
| Previous by Thread: | Re: IncludeAble hack needs helpi: 00125, Patrick R. Michaud |
| Next by Thread: | bug in printfmt: 00125, Bernhard Weichel in pmwiki-users |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |