Installing PHPmotion V2 RC1

April 7th, 2008

The following instructions only apply to Version 2 of PHPmotion. For V1 please refer to the instructions provided inside the downloaded zip file

1. Download the the zipped file from PHPmotion, the correct version is For PHP 5.x

http://downloads.phpmotion.com/V2/PHPMOTION_PHP5.zip
2.
Unzip the files on your computer
3.
Using your web hosting control panel or similar, create a mysql database and write down the details of the database once created
4.
Upload all the phpmotion files into your FTP folder
5.
CHMOD all the following files and directories to 777

*
/pictures
*
/classes
*
/temp
*
/logs
*
/addons
*
/uploads
*
/uploads/avi
*
/uploads/thumbs
*
/uploads/audio
*
/uploads/audio/temp
*
/uploads/pictures
6.
CHMOD all the following files and directories to 755
*
/cgi-bin/all files in there
*
/cgi-bin/audio/all files in there
7.
Start the installation wizard by going to http://YOUDOMAIN.COM/setup (replace with your real domain name)

IMPORTANT NOTES

1.
The following files MUST be uploaded in BINARY mode. Your FTP program will have an option for this
*
/classes/config.php
*
/watchingnow.php
*
/mp3_id3_utils.php

Cron Tutorial (Crontab Tutorial)

February 1st, 2008

What is cron?

Actually it is called ‘cron daemon’. Cron is an automatic task machine. You will use it on your Unix or Linux operating systems for doing some tasks at specific intervals with out your intervention every time. You set the clock and forget. The cron daemon runs the work for you.

What is cron tab?

‘Cron tab(CRON TABle)’ is a text file that contains a series of cron functions.

What cron will do for you?

>>>If you want to send your email cources to your subscribers at 11.30 night, you will set the cron job on your server.And your cron manager sends the one email every day at 11.30 until all the emails will be finished.

If you want to send them on Sundays, you can schedule it with your cron.

>>>You can schedule it to delete your website members with expired accounts.

>>>You can schedule it to recieve an update on your subscribers from your mailing list manager.

>>>You can check your links on other websites in link exchange programms.

Now if you want to setup a cron job at Hosting Marketers servers, login to your cpanel, go to Cron Jobs, click Standard,

select how you are going to run, once a day, every minute, once a week, what ever, this is the easy part….
We recommend that you dont use anything less then every 30 minutes, imagine that you going to send emails every 1 minute? we will termiante your account before you can say, “WHY!”
So make your selection then use this command:

/usr/bin/php -q /home/myusername/public_html/cron.php

mysername is your cpanel username and cron.php is the file you need to run.

Simple no?

what is a CNAME record?

December 21st, 2007

CNAME is short for canonical name, also referred to as a CNAME record, a record in a DNS database that indicates the true, or canonical, host name of a computer that its aliases are associated with.

CNAME-records can be used when a computer or service needs to be renamed, to temporarily allow access through both the old and new name.

1. A CNAME-record should always point to an A-record and never to itself or another CNAME-record to avoid circular references:

In the following example, an A record binds a hostname to an IP address, while a CNAME record points the commonly used www hostname to it:
server1 IN A 10.0.1.5
www IN CNAME server1

2. Often a CNAME is used to point a subdomain to another domain. Here is an example of a CNAME:

www.toolbaz.com. IN CNAME eric.toolbaz.com.

Example: to point www1.mydomain.com to point to

www.mydomain.com:
Subdomain to enter: www1
CNAME to enter: www

Result: Browsing to www1.mydomain.com would render the same page as www.mydomain.com

3. One of the times where CNAME records can be useful is when you want a subdomain to point to a computer outside of your domain. For example, you might want “news.example.com” to go to your ISP’s newsserver. Instead of putting in the IP address, you could put configure the following:

Subdomain to enter: news.example.com

CNAME to enter: news.myisp.com

That way if the IP address of the newsserver changed, you wouldn’t have to make any changes.

4. Another simple example of CNAME is when you wish to mask your domain:

Example: To point www.yourdomain.com to another website while maintaining www.yourdomain.com in the address bar of the browser:

Subdomain: to enter: www
CNAME to enter: www.anotherdomain.com

PHPmotion

September 25th, 2007

PHPmotion is a video sharing software application that allows the user to create a web site similar to YouTube.

It is written in PHP language and it is the latest of this kind of scripts popping up on the net due to the enthusiasm that video sharing sites have, with some internet analysis predicting that by 2015 this kind of sites will have replaced the television.

PHPmotion like other video sharing software uses ffmpeg, a collection of software libraries that can record, convert and stream digital audio and video in numerous formats.

The software is proving popular and as of September 2007 it has been downloaded over 4000 times, it is a free software but the developers charge for removing a “powered by” link at the bottom and also for installation of the script or to load the necessary libraries on a server to make it compatible with phpmotion. At the moment few web hosting companies are compatible with PHPmotion.
FFmpeg Hosting

dont mix keywords

August 5th, 2007

From a SEO prospective my advice, dont mix keywords, make different pages for different keywords, I mean fine if you put your web design keywords (ex.: web design, webpage design, website design) on the same page, but dont put hosting or other stuff on it.

For starters the body text should have 2-3% in keywords (related keywords, on topic), so if for some reason you cant put so many on the body, then ok, put them down, BUT put them in a sentence, even if no one will ever read it, make it a sentence.