Protected: Adding Shibboleth SSO to your drupal site
There is no excerpt because this is a protected post.
View ArticleDynamic vars in PHP
I was looking for the equivalent to ColdFusion’s setVariable for php and I found you can use {brackets} or double dollar signs. Here’s a weird example: Here’s a coldfusion example of the three types of...
View ArticleDynamically retrieve a protected pdf
My goal is to present the viewer with the latest course catalog pdf from our eLearning system. Users can already log in and search for courses or drill down to a course and it’s details but there’s no...
View ArticleEdit CSS and removing line breaks to process through js
I wanted to append the head of a doc with some styles but I didn’t want any line breaks. So I used this function: That way I could edit with line breaks but send it through the jQuery append without. I...
View ArticleDrupal – modify the forum listing
We’ve decided not to display the commenter’s name on our forum comments. Initially I tried to accomplish this with css: But that only takes care of hiding from view when reviewing comments. It also...
View ArticleSimple Password protection using PHP
I needed to protect a page with something more challenging than javascript and less troublesome that .htaccess so I went looking for a quick php script that would do the trick with session management....
View ArticleUtilizing the LDAP Proxy to display directory details
We have an application that queries LDAP to verify affiliation and then captures the relevant data to enroll the user in a course. We only store the username and user id, so LDAP is queried again when...
View ArticleAdded a cache-control header to the fmla database
The FMLA database front end wasn’t displaying the most recent participants when selecting letters. So I added some cache-control code to the header. This tries to force the browser to reload the page...
View ArticlePHP: html_entity_decode plus single quotes and other missing chars
I wanted to replace entities for use in a plain text email and html_entity_decode() ignored ‘‘’ and ‘’’. I dug around and found some ideas under get_html_translation_table:...
View ArticlePHP redirects if the headers have already been sent.
I ran in to a situation with some inherited code today. The developer wanted to redirect users to a course listing page if they landed on a date/time listing that couldn’t be found. See this code...
View Article
More Pages to Explore .....