Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php class user_model extends CI_model { function create($form_array) { $this->d..
Decoded Output download
<?php
class user_model extends CI_model
{
function create($form_array)
{
$this->db->insert('users',$form_array);
}
function all()
{
return $users = $this->db->get('users')->result_array();
}
function getUser($user_id)
{
$this->db->where('user_id',$user_id);
return $user = $this->db->get('users')->row_array();
}
function updateUser($user_id,$form_array)
{
$this->db->where('user_id',$user_id);
$this->db->update('users',$form_array);
}
}
?>
Did this file decode correctly?
Original Code
<?php
class user_model extends CI_model
{
function create($form_array)
{
$this->db->insert('users',$form_array);
}
function all()
{
return $users = $this->db->get('users')->result_array();
}
function getUser($user_id)
{
$this->db->where('user_id',$user_id);
return $user = $this->db->get('users')->row_array();
}
function updateUser($user_id,$form_array)
{
$this->db->where('user_id',$user_id);
$this->db->update('users',$form_array);
}
}
?>
Function Calls
None |
Stats
MD5 | 9cb0ef4a1b21fae17222a1637e030f51 |
Eval Count | 0 |
Decode Time | 95 ms |