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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -