actually i think the problem is not with form action ..
i tried posting data with simple form outside of codeigniter and also making my .htaccess file empty.
form example below:
<?php
if(isset($_POST[‘submit’])){
echo $_POST['content'];
}
?>
<form method=“post” >
<textarea cols=“100” rows=“50” name=“content” ></textarea>
<input type=“submit” name=“sbumit” value=“submit” >
</form>
as i mentioned before i can post any data using above code and i can see through php the posted data.
that means above form is working fine but when i try to post data wich content string “union select”
it doesn’t get posted instead it shows error message
“
Not Found
The requested URL /test.php was not found on this server.
Apache/1.3.41 Server at http://www.sitename.com Port 80
“
i used the above simple form to post string “union select” on another server and the data got posted without any error message .. so i think something is wrong with my current server..which is not letting me post a simple html form if the textarea content string : “union select” ..
so in simple words i cannot post if my form content string “union select”
Server type:linux
anyone any idea why it’s happening
please reply
thanks