[eluser]Unknown[/eluser]
Hello,
I'm pretty new with CI, and got a problem with posting a form
for example, i got this code in my view:
Code:
<form action="index.php/torrent/add" method="POST">
<input type="text" name="url"/>
<input type="submit" name="submit" value="Add"/>
</form>
and no matter what i set as action this form always directs to :
MYWEBSITEURL/system/get
information :
-system is my project folder
-i use IIS
mode rewrite :
<rule name="CI" enabled="true">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" appendQueryString="false" />
</rule>
anyone the solution ?
thanks,