PHP

Adding LDAP to PHP on DreamHost

Submitted by Darren Oh on

I have been a DreamHost customer since 2006. I love the affordability and flexibility of their shared hosting. DreamHost allows customers to compile custom PHP extensions on shared hosting. I used this to add LDAP support to PHP. This worked fine until DreamHost upgraded their shared hosting servers to Ubuntu 22.04.

Retrieving data from multiple PHP session handlers

Submitted by Darren Oh on

When I was trying to get PHP session upload progress data from a site that uses a custom session handler, I learned that PHP stores the upload progress data using its built-in session handler before it runs any code. This means the upload data is not included when the site starts the session with its custom handler. However, I learned that it is possible to retrieve data from a session, abort it, and start another session with a different session handler.

Tags