Raptor Raptor - 1 year ago 99
PHP Question

Classic ASP equivalent of PHP's pack()

What is the equivalent function for PHP's pack() function in Classic ASP ?

Answer Source

Out-of-the-box there is no equivalent function in Classic ASP. You basically have a few options when it comes to implementing this functionality in Classic ASP, you can;

  1. Use a COM component that mimics the functionality
  2. Attempt to write the code yourself but with VBScript especially you will likely hit problems working with byte arrays etc.
  3. Write your own COM component in a mainstream language like C++ or C# (there are others I'm just not listing them all and unsure of there support for COM enabled DLLs).
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download