Blog ยป Scripts

Scripts

550 5.7.1 Unauthenticated email from yahoo.com is not accepted

When you send email via script, you can specify any email address in from address. If you specify other domain in from address, it is possible that your email may be flagged as spam and sometime your email may be rejected as well. You may receive the following error while sending the emails via script: …

550 5.7.1 Unauthenticated email from yahoo.com is not accepted Read More »

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 …

Sample PHP MSSQL connection script Read More »

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 Joomla administrator password Read More »