• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why is post data not present

#11
[eluser]InsiteFX[/eluser]
Try setting your to this
Code:
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of 'AUTO' works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO'  Default - auto detects
| 'PATH_INFO'  Uses the PATH_INFO
| 'QUERY_STRING' Uses the QUERY_STRING
| 'REQUEST_URI'  Uses the REQUEST_URI
| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol'] = 'REQUEST_URI';

/*
|--------------------------------------------------------------------------
| Enable Query Strings
|--------------------------------------------------------------------------
|
| By default CodeIgniter uses search-engine friendly segment based URLs:
| example.com/who/what/where/
|
| By default CodeIgniter enables access to the $_GET array.  If for some
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
| You can optionally enable standard query string based URLs:
| example.com?who=me&what=something&where=here
|
| Options are: TRUE or FALSE (boolean)
|
| The other items let you set the query string 'words' that will
| invoke your controllers and its functions:
| example.com/index.php?c=controller&m=function
|
| Please note that some of the helpers won't work as expected when
| this feature is enabled, since CodeIgniter is designed primarily to
| use segment based URLs.
|
*/
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['directory_trigger'] = 'd'; // experimental not currently in use

#12
[eluser]codeigniterzzz[/eluser]
its already set that way.

#13
[eluser]InsiteFX[/eluser]
Well that should work, try re-installing CodeIgniter maybe you have a corrupted file some place.

#14
[eluser]codeigniterzzz[/eluser]
wow reinstalling...thats a nightmare lol...but in general, can you explain to me why this is happening, why its not recieving post data?


#15
[eluser]InsiteFX[/eluser]
It could be a corrupted file, I use forms all the time and have no problems.

Try loading the form_helper and re-design your form using it.

#16
[eluser]codeigniterzzz[/eluser]
ya i tried that option as well, basically i'll use echo form_open('locker_settingstwo/processform') and close the form with echo form_close(). and i get the same results, its not getting post data...and what sort of files could be corrupted?

#17
[eluser]InsiteFX[/eluser]
Just copy a new system directory over.

#18
[eluser]CroNiX[/eluser]
Have you tried the other options for $config['uri_protocol']?

#19
[eluser]codeigniterzzz[/eluser]
no but why should i be changing that if at all?

#20
[eluser]CroNiX[/eluser]
Because those tell CI how to process requests and different settings work on different servers. It won't hurt to try.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.