Blog: ASP

  • Apr 17

    print_r function for classic ASP with vbscript

    If you've done a bit of work using PHP you'll be familiar with the ever useful print_r function to output to screen complex datatypes like arrays or classes. If like me you're also still working on some legacy sites with classic ASP you'll regularly wish such a function exists in vbscript.

    Sadly it doesn't.....but I wrote one which you're welcome to......

  • Feb 8

    Create websafe filenames in ASP and PHP

    If you've ever built a website that allows your users upload files you may have discovered the frustrations that certain characters cause problems when you try to provide a download link. The solution to this (and in fact to the risk of cross-site scripting issues that could be introduced) is to transliterate the filenames after the upload to make sure they are websafe.

Browse by date

Join us on Facebook