Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Creating a referral url
Post: RE: Creating a referral url

the username is unique in itself so we could just add some random characters on it: PHP Code: -- $char = substr(str_shuffle(str_repeat("0123456789abcdefghijklmnopqrstuvwxyz", 5)), 0, 5); $username ...
16,997 Views
8 Replies
05-12-2017, 09:02 AM
raknjak
    Thread: Creating a referral url
Post: RE: Creating a referral url

ok editing because I misunderstood. With referral urls you need to know the username beforehand no? I mean what is the use if not.
16,997 Views
8 Replies
05-10-2017, 12:58 PM
raknjak
    Thread: [Solved] sending mails with multipart/alternative
Post: RE: sending mails with multipart/alternative

InsiteFX Wrote: (05-10-2017, 11:55 AM) -- You can set an alternative message that is text and not html, after you set your html add this after it. PHP Code: -- $this->email->set_alt_message(...
3,402 Views
2 Replies
05-10-2017, 12:55 PM
raknjak
    Thread: Codeigniter Search and filters
Post: RE: Codeigniter Search and filters

Here is the tutorials section https://www.codeigniter.com/user_guide/tutorial/index.html
10,787 Views
5 Replies
05-10-2017, 08:32 AM
raknjak
    Thread: Session lost AJAX CI 3.x
Post: RE: Session lost AJAX CI 3.x

When you are SURE that this is not a CSRF issue, then your only option is to not allow AJAX calls to change the session data. Look at system/libraries/Session/Session.php LINE 145: it would seem this...
9,099 Views
4 Replies
05-10-2017, 08:26 AM
raknjak
    Thread: [Solved] sending mails with multipart/alternative
Post: [Solved] sending mails with multipart/alternative

Hello I've been looking around to no avail to find out how exactly we use the Email Class to send plain and html emails together. I know the general procedure in PHP but it seems stuff like PHP...
3,402 Views
2 Replies
05-10-2017, 08:07 AM
raknjak
    Thread: Database Error: 2014
Post: RE: Database Error: 2014

for PDO you have to enter a dsn in config/database.php. And/or using php-mysqlnd seems to help.
2,257 Views
1 Replies
03-29-2017, 06:07 PM
raknjak
    Thread: utf8 special characters problem by forms
Post: RE: utf8 special characters problem by forms

"accept-charset" will not work on your button, it will not do anything but invalidate your page. Check this: - - browser needs to be set to utf-8 (should be for all modern browsers) Google even rem...
5,638 Views
5 Replies
03-29-2017, 05:54 PM
raknjak
    Thread: Sessions getting erased
Post: RE: Sessions getting erased

So it was about cookies indeed. On localhost I just leave cookie_domain empty and it seems to work.
12,096 Views
9 Replies
03-29-2017, 05:47 PM
raknjak
    Thread: [Solved] Printed config value log_file_permissions equal to 420?
Post: RE: [Solved] Printed config value log_file_permiss...

Great thanks, I used decoct() to make it visually correct.
5,365 Views
3 Replies
03-28-2017, 11:58 AM
raknjak
    Thread: [Solved] Printed config value log_file_permissions equal to 420?
Post: [Solved] Printed config value log_file_permissions...

Hello when I run the code below the output is 420, while my permissions are 0644 in config.php. PHP Code: -- print $this->config->item('log_file_permissions'); -- I looked through the code bu...
5,365 Views
3 Replies
03-28-2017, 07:30 AM
raknjak

Theme © iAndrew 2016 - Forum software by © MyBB