<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 8, 2013 at 4:53 PM, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div class="im">Peter Bowers writes:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Is it required to have $EnablePathInfo=1 set in order to use<br>
<br>
(:form action=$PageUrl:)<br>
</blockquote>
<br></div>
You probably mean (:input form:) not (:form:), and later {$PageUrl} not $PageUrl.<br></blockquote><div><br></div><div>Thank you for correctly interpreting my overly abbreviated typing... :-)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


No, it is not required, </blockquote><div><br></div><div>So is there something else going on in my configuration that makes it so without $EnablePathInfo it goes to my default page?<br><br></div><div>(Example: <a href="http://pmwiki.qdk.org/pmwiki.php?n=Test.Form">http://pmwiki.qdk.org/pmwiki.php?n=Test.Form</a> -- I think I've left it with $EnablePathInfo=1 right now...)<br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">but if the script which is receiving the posted form expects a $_POST['n'] or $_GET['n'] variable instead of $_REQUEST['n'] or simply $pagename, you may need to add to the form<br>


<br>
  (:input hidden n {*$FullName}:)<div class="im"><br></div></blockquote><div>I'm just using pmwiki.php as the receiving script -- this is just PITS that I'm helping David S with...<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I see that PITS.PITS uses action=$PageUrl, but this seems not to work on systems not using $EnablePathInfo...<br>
</blockquote>
<br></div>
(:input form action={$PageUrl}:) works on my home server, the posted form lands on the same WikiSandbox page and not on Main.HomePage.</blockquote></div><br></div><div class="gmail_extra">Do you have $EnablePathInfo=1 or not?<br>

<br></div><div class="gmail_extra">-Peter<br></div></div>