Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Send image to other method
Post: RE: Send image to other method

$_FILES['my_image'] is not the image itself, it's an associative array containing information about the uploaded file. It looks something like this: [name] => image.jpg [type] => image/jpeg [tmp_n...
1,462 Views
3 Replies
08-29-2019, 08:33 PM
adamoli
    Thread: PHP sessions expire after X minutes
Post: RE: PHP sessions expire after X minutes

Since your sess_save_path is set to NULL in your config, the sessions are being stored in the path defined by php settings (session.save_path). You may consider changing this to a path you control ...
926 Views
1 Replies
05-02-2019, 06:25 AM
adamoli
    Thread: where_in null and 1
Post: RE: where_in null and 1

This looks more of a mysql question. I don't think you can use NULL inside a WHERE IN clause. Try 'WHERE Login = 1 OR Login IS NULL' You could use $db->get_compiled_select() to see how CI has cons...
1,959 Views
3 Replies
04-03-2019, 02:34 PM
adamoli
    Thread: CI Nopb (Need some advice)
Post: RE: CI Nopb (Need some advice)

This sounds like a session misconfiguration. Have you checked your session and cookie settings in config/config.php? Specially cookie_domain, cookie_secure or any setting that may restrict session a...
1,495 Views
2 Replies
04-03-2019, 02:26 PM
adamoli
    Thread: Can't use a cache?
Post: RE: Can't use a cache?

The most common use of caching is for static content, but you can still cache dynamic content if you can manage to delete/update the cache whenever the data changes. I would suggest memcached or re...
776 Views
1 Replies
04-03-2019, 02:18 PM
adamoli
    Thread: Problem with Image Manipulation Library
Post: RE: Problem with Image Manipulation Library

Make sure you're using a jpeg image since you won't be able to compress other types. Also try not to use same value for source_image and new_image as it'll make it harder to test/debub.
1,748 Views
3 Replies
02-08-2019, 04:24 PM
adamoli
    Thread: How often do you use the backup() method of the database drivers?
Post: RE: How often do you use the backup() method of th...

I've used it. It came in handy when a client of mine asked for the option to manually download the database. If you are in an evironment where you can't modify php settings, you may have trouble w...
32,600 Views
38 Replies
02-07-2019, 08:39 PM
adamoli

Theme © iAndrew 2016 - Forum software by © MyBB