How can I add a relative path to submit a html form? -


i want use relative path form submitting html form. tried "./submit" not work.

code igniter + generated code:

echo form_open('./submit'); // <form action="http://domain.com/./submit" method="post" accept-charset="utf-8"> 

this want:

http://domain.com/seekerpanel/changepassword/submit 

and get:

http://domain.com/submit 

how can address path relative "changepassword" page?

would not add relative path 'http://domain.com/seekerpanel/changepassword/submit' action form attribute?

<form action="http://domain.com/seekerpanel/changepassword/submit" method="get"> 


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -