As the developer here at High Speed Web, I get to deal with customers on special occasions. Generally these entail stand-offs between the technical support staff (which may or may not include network administrators) and the customers. The latter states that the problem is the server, while the former contends that it is the user’s code. So they bring in me, to either slap the administrators for not setting up their servers right or to show the user what we like to call the correct way to code. During my time here, I have helped several people out with their ASP scripts as pertaining to sending email. They all used CDO, and they all had the same problem: SMTP Authentication.
Continue reading
Tag Archives: scripting tutorials
Power of Perl – Controlling and expanding Cpanel/WHM through the Cpanel/WHM API
When running a shared hosting environment, it is impossible to stay competitive without the use of some form of control panel. And in the world of linux shared web hosting, no control panel is as widely used as cPanel Inc‘s cPanel/WHM combo. The Cpanel team has put a lot of time and effort into the remote administration of WHM, and through that Cpanel. With a little ingenuity and not much work, really, this API can be extended to include any functions you can imagine, up to and including the system administration of the machine itself. So lets look at the basics thereof.
Continue reading
Debugging Perl on Linux – Just __END__ it now! it later.
The art of debugging differs, some, with each language and it’s specific tools. Perl provides an interesting challenge to programmers since it, like most linux-originating languages, has no real IDE wherein it can be debugged step by step with breakpoints and like methodologies. Instead, the perl programmer must resort to using print statements, logging mechanisms, and then there is the __END__.
Continue reading
PowerShell tutorial. The While Statement
Similarly to the for statement, the while statement is another type of loop that parses through a collection. The while statement also includes a conditional code block and a script block and continues for so long as the conditional code block equal true.