Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
POST and GET
  • Hey! Is there any specific way to work with POST variables?
    Here's old one...
    $foo = $_POST['foo']
    $_POST['bar'] = 'whatever';
    

    If there is, can I use both ways? P.S. What about GET variables? Can I use them? Should I use them (maybe I can use just URI segments)?
  • http://fuelphp.com/docs/classes/input.html And no, we don't offer a way to write to $_POST. That's just incredibly bad practice, the $_POST variable is of course still available though.
  • Just asked for knowing... =P All clear, thanks.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion