Installing a PHP script should be an easy thing to do.
Before installing a PHP script please make sure you have a hosting account that supports PHP and MySQL databases. If you are not sure about this, ask your provider first.
Now let’s install the PHP script in 3 easy steps:
1. Edit the configuration file included in your script package
Unzip your script package and search for the configuration file. Usually the name of the configuratgion file is “config.php”. But this file can also have a different or similar name.
In the configuration file you will find the following variables:
Let’s take each variable separately.
$host – this variable must be set to “localhost” unless you want to use the database on a different web server
$username – this variable defines your MySQL database user
$pass – this variable defines your MySQL database password
$db – this variable defines the name of your MySQL database
The first variable ($host) is usually “localhost” in most of the cases, but the next 3 variables must be defined by you.
In order to create your database, database user and password, you have to login to your hosting control panel. If you are running cPanelX, go to MySQL database section.
First create a new username. Then create a new database. Make sure you assign the new user to the new database (Add user to database).
Now edit the configuration file properly with $username, $pass and $db fields. Save the file.
If the configuration file contains more variables, make sure you complete these too (site url, email address, etc.).
Some scripts may require a “path to directory” variable. Please ask your hosting provider to provide you the correct path.
2. Upload the files to your server
Upload all the files as they are, do not change the directory structure. You will need a FTP client (there are many free ones available) and make sure you upload all files in ASCII format.
3. Run the installation script
The installation script is usually called “install.php”
In order to install the script you have to point your browser to
http://your.domain.name/scriptdirectory/install.php (as an example)
Follow the installation steps. After these the installation should be complete. Please delete the installation file from the server.
Everything done now! Enjoy the installed script
Mail is the command in UNIX bash shell to send email from that machine to one or more recipient. Mail can be invoked with arguments which are the recipients. This is followed by your message and ‘ctrl-D’ at the start of the line. The simple way to send a mail from unix is:
mail -s ‘Mail Subject’ You@sdexperts.com
Example Shell Script to send Mail.
Use the below sample shell script:
# Shell script to send email
# Email Subject
# Email Recipient
# Email text/message
echo “Hey – How is it going”> $EMAIL-MESSAGE
echo “Send mail bash Shell script works fine” >>$EMAIL-MESSAGE
# send email using /bin/mail
/bin/mail -s “$SUB” “$EMAIL” < $EMAIL-MESSAGE
Steps for dummies:
Go to the dir you want to have this shell script.
vi sendMail.sh (create shell script)
Paste the above code.
:wq (Save the shell)
chmod 755 sendMail.sh (Give permission to the script)
./sendMail.sh (Run the script)
1 comment - What do you think? Posted by
March 16, 2011 at 1:48 pm
Create the next best thing with this amazing and unique Twitter App. Using PHP and based on the Twitter API, it allows Twitter users to create “auto tweets” that they can schedule for certain times of the day.
You can have this script set up within a few simple steps. All it takes is a few minutes and your up and running.
Full, easy to follow Installation Instructions are included with your purchase.
Server and Script Requirements
Twitter Account for sending out the Auto Tweets
PHP / MYSQL / LINUX Server
Ability to create Cron Jobs
Simple Design Customization!
Valid CSS / XHTML Design
Easy to update the template with your own customizations and design! Add your own look and feel in minutes.
Want a unique design?
We can do this for you! With more than 15 years of web design and development experience our team wants to create you a new design you will be proud of! We know this system inside and out and can have you up and running with a new, unique, vibrant design! Click here for more details for customization requests.
How can you make money with this script?
The possibilities are endless! With the boom of Twitter rising and it doesn’t look to be slowing down anytime soon, Twitter App sites are coming out all over the world. Webmasters are making big bucks in advertising revenue and even selling their creations on Buy / Sell / Trade forums. (Sitepoint, Digital Point, etc).
When you purchase this script or any of the scripts you see on TwitterScripts.net you are purchasing the script for ONE domain only. If you would like to use the script on more than one domain name, you must purchase another license. There is absolutely NO resale rights available for any of our scripts.
Its very simple to refresh your IP. Just follow these below steps.
I will tell you how to refresh your IP address on a network. This will only repair internet connection problems if you’ve changed locations and you can’t connect to the Internet. This is only for Windows machines.
1. Open the Command Prompt (from the Start button, go to Programs > Accessories > Command Prompt).
2. In the command prompt window, type “ipconfig /release”
3. In the command prompt window, type “ipconfig /renew”
4. Exit the Command Prompt by typing “exit”
* You may want to create a small batch file of this command. See How to Write a Batch File.
* To check your IP address, type “ipconfig”
* To check detailed information about your TCP/IP settings, type “ipconfig /all”
* Win98 users should type ipconfig /renew_all
* After completing your ‘ipconfig /renew’, check what IP address you have by ‘ipconfig’. If you have an IP address starting with 169.254, then you are not connected to the Internet. Addresses starting with 169.254 are assigned automatically by Windows when Windows is unable to contact an Internet (DHCP) server for an address.
Are you confused why your computer is slow today ?
There are lots of reasons behind this, there might be loads of temp files in your machine or your registry must have been corrupted. So, what is Registry ? This might be very common for some of you, but I would like to brief a bit for newbies. The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low-level operating system components as well as the applications running on the platform: the kernel, device drivers, services, SAM, user interface and third party applications all make use of the Registry. The registry also provides a means to access counters for profiling system performance. Overall the system registry is the brain of your Windows Operating System. A new entry gets added to your system registry when a new software is installed on your machine. When you uninstall a software the system registry entry might not be erased completely which might be the case for your computer to be slow or the performance is bad.
How to clean your registry ? Registry cleaners can help you do it. Registry cleaners scan your system registry and check for unwanted registry and registry with errors. Registry cleaners will help you clean your system registry in a click of your mouse.
If you ask a question, Do I need a Registry Cleaner ? The answer is Yes, if you use a registry cleaner your system’s performance with increase. How do you choose which registry cleaner is the best for you ?
Click on the above link to check if there are any errors in your registry.
About Registry Easy™
Current Version: 5.6
File Size: 4.9 MB
Operating System: Windows 95/98/ME/NT/2000/2003/XP/Vista/Win 7
Release Date: April 02, 2010
Protection Against: Cleans registry and optimizes PC for better performance.
1 comment - What do you think? Posted by
April 12, 2010 at 8:42 am