View Single Post
  #3  
Old 01-26-2016, 05:52 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 50,338
Hwona is on a distinguished road
Default

Umm? Are you talking about something like DOMAIN.SCRIPTPATH?
I'm taking these from the inc/config.php file. I've never used these before, but if you add include("../inc/config.php"); to each page, you should be able to fetch DOMAIN and SCIPTPATH.
If that doesn't work, you could still try your actual domain... though that's not ideal.

Edit: Also found this $mysidia->path->getAbsolute()
It should work if you've added the $mysidia = Registry::get("mysidia"); to the page.
Try:
$TableForm = new Form("multiform", "{$mysidia->path->getAbsolute()}page/action", "post");

Last edited by Hwona; 01-26-2016 at 06:34 PM.
Reply With Quote