Skip to content

imagesx() expects parameter 1 to be resource, string given

I try to upload multiple files to my bucket earlier it worked well but now I try to resize and compress the image before upload, it throws error imagesx() expects parameter 1 to be resource, string given here is the code : I am trying to upload this final $im to bucket , I have already installed gd library in

Ldap bind message in Laravel

I have a question. Currently I am working with ldap connection. I have no issue with ldap connection as I am using manual ldap codes. My connection with ldap is success. All seems good when I enter the correct username and password. I have problem when I enter wrong password, the page will show “ErrorEx…

Using Laravel’s WhereIn to search multiple tables

I have 3 SQL tables. clients events client_events Because a client can have multiple events, I made the third table to show those relationships. I am using the following code to retrieve all of the clients that have the have a record matching this event, but it is only returning 1 record when there are multip…

Where are the full refs for getstream.io REST api?

I’ve been implementing PHP getstream.io support for our app, found that the official PHP library is lacking compared to Python one. Checking official api refs on getstream.io site – seems they are not full by any means as well. For example – we have ‘stats/follow/’ endpoint, allo…