ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Live Tutorial Starting in 20 Minutes

September 11, 2007 1:46pm

Subscribe [1]
  • #16 / Sep 12, 2007 5:37am

    deviant

    82 posts

    I’m assuming it will just create a hash string of the password for storage in the database, similar to

    md5($this->input->post('password'));

    Using a function like dohash will be is more flexible though.

  • #17 / Sep 12, 2007 6:44am

    wemago

    30 posts

    Hi,
    Thanks for new way write tutorial. I run your code and it works fine. Do u finish the comments parts ?  Can you please explain in the code :
                      $this->load->helper(‘security’);
              $insert = array(
              ‘username’ => $this->input->post(‘username’),
              ‘email’ => $this->input->post(‘email’),
              ‘display_name’ => $this->input->post(‘display_name’),
              ‘password’ => dohash($this->input->post(‘password’))
              );

    What will be do the dohash () function .

    Thanks

    read the manual

    http://ellislab.com/codeigniter/user-guide/helpers/security_helper.html

  • #18 / Sep 12, 2007 8:30am

    ELRafael

    274 posts

    try close the class

    class Blog extends Controller
    {
      ...
    } //See the close tag?

    closed all, still problem.  :blank:

    Hum… still problem = same problem before (PARSE ERROR)?

  • #19 / Apr 22, 2009 1:55am

    stretchnate

    11 posts

    hello,

    not trying to revive and old post or anything but this is what I need and the link to your tutorial seems to be dead. so I’m wondering if that tutorial is still alive and kicking somewhere else or is there another somewhere, I tried google but slim pickens.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases