Sample PHP MSSQL connection script

Following is the sample PHP and MSSQL server connection script: <?php //SQL server details – Make necessary changes $Server = “localhost”; $User = “your_name”; $Pass = “your_password”; $DB = “example”; //Database connection $dbconn = mssql_connect($Server, $User, $Pass) or die(“Couldn’t connect to SQL Server on $Server”); //Select Database $selected = mssql_select_db($DB, $dbconn) or die(“Couldn’t open database […]

CDO SMTP Authentication Mail Script

CDO can be used to send email without SMTP authentication as well as using SMTP authentication. Following is the sample code to send email using CDO SMTP authentication: Make sure that you use appropriate SMTP server, SMTP server port, username and password to send email via authenticatoin. Kailash Aghera

How to reset Joomla administrator password

Joomla’s administrator password can be changed with a simple MySQL query. Go to your cPanel and click on phpMyAdmin in the Databases box or access your MySQL database using the interface provided by your web hosting company. We will consider that you have phpMyAdmin to manage your MySQL databases. In phpMyAdmin, select your Joomla database […]

How to reset vBulletin administrator password

The following guideline will help you to reset your vBulletin administrator in an event when “Forgot password” doesn’t work for you: [1] Browse your forum and log out (if you have logged in using other user) if you aren’t already. Register as a new user and login as this user. [2] In the vBulletin’s .zip […]