?

Log in

No account? Create an account

random code

Feb. 5th, 2008 | 03:13 pm

I love the random code I find when I’m doing house cleaning. Like a php script to display the current listeners from Duane’s radio station. Or “cylon.jpg” as part of production data. (I had to test the file upload, right?). Or this bit of highly useful code:

<%@language=”jscript”%>
<%
var ctrl = Application(”ctrl”);
if (ctrl == null) {   
    Response.Write(”Failed to retrieve setting”);
} else {
    Response.Write(ctrl.GetAppSetting(”squeegeeHead”));
}
%>

 

Link | Leave a comment |