lang="en-US"> Tutorials – Page 10 –  Design1online.com, LLC

Category: Tutorials

14

Classic ASP Tutorial: How to do Soap Requests

So I was having a helluva time trying to get this working. I was finally able to muck around and get a setup that would connect to SOAP at CapWiz like it’s supposed to....

0

PHP Functions: Wiggle, Wobble, Squibble & Swipswap

Here are a few fun functions for word games, word scrambling and just plain word craziness. <?php /*********** * Purpose: move a certain letter to a certain position * Precondition: word, letter to move,...

1

PHP Tutorial: Dynamically Create an Email Address in CPanel

This assumes you have cPanel and permission to run the /scripts/addpop command. You’ll need to write functions for validateUsername, validatePassword, and usernameExists or you can click on the links for each of those and...

0

MSSQL Tutorial: Delete All But 1 Duplicate Records

declare @id int, @total int /* SELECT COUNT OF POTENTIAL DUPLICATES */ select id, count(id) from [tablename] where [parameters] group by [column name] /* LOOP TO CLEAN UP THE DUPLICATES */ declare aff_crsr cursor...

1

PHP Tutorial: Mixing HEX Colors

<?php /**************** * Purpose: mix two colors together * Precondition: two colors in hex RGB format * Postcondition: a single color returned that’s the combo of the two ****************/ function mixcolors($color1, $color2) { $c1_p1...

2

C++ MySQL Database Class

/************** * File Name: database.cpp * Author: Design1online.com, LLC * Purpose: mysql database class **************/ #include “database.h” /************** * Purpose: default constructor, initialize class values * Precondition: none * Postcondition: none **************/ database::database() {...

2

PHP Tutorial: Get Filename From Domain Path

<?php /**** * Purpose: get the filename from the path * Precondition: path i.e. http://domain.com/contacts.php * Postcondition: returns the filename i.e. contacts.php ****/ function fileName($path) { return substr($path, strrpos($path, ‘/’)+1, strlen($path)); } ?> Programming...

0

PHP Tutorial: Format Dates Taking Country Into Consideration

<? /************** * Purpose: Format dates with country in consideration * Precondition: 2 letter country code the individual is from * Postcondition: date is reformatted for that country * Note: all available country abbreviations...