THE PROBLEM: I can't get any POST variables anywhere. Not even at the top of index.php. Is this because of the apache rewrite rule?
Here is my .htaccess rewrite rule:
Options +FollowSymLinks
IndexIgnore */*
# Turn on the RewriteEngine
RewriteEngine On
# Rules
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
This makes everything go to index.php I'm using this as my controller file So everything goes through index.php first
What other apache rules do i need to get the $_POST data to my index.php?
here is the basic form:
<form action="/signup" name="form_name" method="POST" id="">
<input type="text" name="field1" value="" />
<input type="text" name="field2" value="" />
<input type="submit" name="" value="Submit" />
</form>