Pretty simple script. This is in response to a script request. Show a different image, or display a different line of text – (maybe even a different color for your site!) depending on the time. Very simple. All based on the date() function in php.
Pretty simple script. This is in response to a script request. Show a different image, or display a different line of text – (maybe even a different color for your site!) depending on the time. Very simple. All based on the date() function in php.
Promo asked for a script that would display comments on the main page, but in a scrolling box, so that if the comments ran long, they didn't make the page unbareably long (but still all visible on the one page). It was actually incredibly simple to do thanks to CSS. (He also only wanted it […]
My friends and I maintain a variety of personal sites. When it became too unwieldy to check every site, every day, we started using wondergeeks.net as a portal for all of our sites. Since that time, we've never been happy with it. We've got people (and sites) scattered from England to Hawaii, and the wide […]
Ages and ages ago, I used Lynda's code as a springboard to create a little PHP popup script. It had one limitation: you couldn't use it with photo thumbnails, because of how I'd coded it. Many months ago, someone asked for a version of the code that would base the popup link around a thumbnail. […]
I recently converted several sections of my site from html to php, and I wanted an easy way to change over without uploading a redirect page in the place of each html page. So I came up with this option. Required: Your server must allow you to use php pages for error messages. If that's […]
And now the answer for why I wanted to get a function to extract search keywords. This script will list the last 50 search keywords to your site (just like the Little Green Footballs script to show the last 50 referrers). I just hacked the two together. See demo here. Download it here. update 3/11/03: […]
(POST UPDATED 8:07pm) Here's a script snippet. As I said previously, I had a number of requests for scripts that will strip out the keywords from a referrer from a search engine. The code was taken exactly from MT RefSearch (Just copied and pasted this one function here). Click here to see just the Extract […]
I just love that show hide javascript. Kymberlie asked if it could be reworked so that you could use it with ANYTHING (not just entries, archives, and categories, etc.) So this script (should) work with anything. It's not blog-program dependent… it's completely stand-alone. There were some funky things going on with it, but I think […]
I ran across "class.gzip_encode.php" whuch is a php class to gzip encode served content to reduce size. It loads your pages faster, reduces server load and makes for a better browsing experience for dial-up users. This is probably something I will never use, but when I find things like this I like to post them […]
Michael asked me to do a version of my script here for categories (It's PHP). It was actually easier to do. (The code for this is shown in the "show more" block)… but I'm working on doing this as a "show/hide" expand option. (It shows a list of categories, you click on the category and […]