Bigwig Home
Thursday, 23 May 2024  
Online Tutorials
How to install PHP on Apache?
You need to add the following lines to httpd.conf (If you're using Apache for Win32)

ScriptAlias /php/" c:/path-to-php-dir/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

Then restart Apache and it should interpret php files correctly

How do I get a user's IP address?
The users ip address is stored in the environment variable $REMOTE_ADDR, if you want to resolve the domain name for that ip (if any) use:

$domain = GetHostByName($REMOTE_ADDR);
Are there any websites that can make me money?
Money never comes easy, but if you're willing to put the time and effort in you can be sure it will come a lot easier!

One site I cam across recently is looking to be the next big thing, having spoken to the guys over there I am pretty sure that there are going to be a lot of people who make a lot of money.

If your looking for something fun to do and make a lot of money in the process visit Video E-Mail

How google is your friend?
Google is not only a great search enging but with the release of "adsense" it can also pay for your hosting/domain and if you work hard even your holidays :)

Google says :-
"Google Adsense is the programme that can generate advertising revenue from each page on your website—with a minimal investment in time and no additional resources.

Adsense delivers relevant ads that are precisely targeted on a page-by-page basisto the content people find on your site. And when you add a Google search box to your site, Adsense delivers relevant ads that are targeted to the Google search results pages generated by your visitors’ search request.

You can customise the appearance of ads, choosing from a wide range of colours and templates. You can do the same with your search results page. Your reports are customisable, too. Flexible reporting tools let you group your pages in any way you want so you can view your results by URL, domain, ad type, category and more to learn where your earnings are coming from."

Google Adsense ads, are highly content relevant ads, that are served directly on your pages - without your intervention. For you as a webmaster, this means that you simply paste the Google Adsense code on your pages, and thereafter have a constantly updated and relevant advertising income.

You can see examples of google's Adsense on the pages here are
I have lost my MySQL root password, how can I get in?
If you have forgotten the root user password for MySQL, you can restore it with the following procedure:

Take down the mysqld server by sending a kill (not kill -9) to the mysqld server.

The pid is stored in a .pid file, which is normally in the MySQL database directory:
kill `cat /mysql-data-directory/`

You must be either the Unix root user or the same user the server runs as to do this.

Restart mysqld with the --skip-grant-tables option.

Connect to the mysqld server with mysql -h hostname mysql and change the password with a GRANT command.

See section 7.35 GRANT and REVOKE Syntax

You can also do this with mysqladmin -h hostname -u user password 'new password'

Load the privilege tables with: mysqladmin -h hostname flush-privileges or with the SQL command FLUSH PRIVILEGES.

Note that after you started mysqld with --skip-grant-tables, any usage of GRANT commands will give you an Unknown command error until you have executed FLUSH PRIVILEGES.

How can I finance my new website project?
Unfortunately many investors are less likely to want to invest in any new website ventures.

Finance can be a big problem and you may find that you need to borrow the money yourself using a loan. Credit cards are not really the answer as the interest rates are normally a lot more expensive than a bank loan

Try to start off with a low cost hosting package, moving up to something bigger at a latter date. Plan for multiple database servers in your code etc.. dont hard code any values make sure you use config files or use the database.

A good host will be able to advise you in this, a badly setup site will cost you 5 times as much as a well thought out system. You don't really want to borrow too much money to get the ball rolling.

Use search terms such as interest free, 0% online-loans etc...
How do I send mails with PHP?
PHP has a function called mail for that purpose, example (from

mail("", "the subject", $message,
"From: webmaster@$SERVER_NAMErn"
."Reply-To: webmaster@$SERVER_NAMErn"
."X-Mailer: PHP/" . phpversion());
How can I accept credit card payments from my website?
There are various methods that you can do this.

Firstly there are options such as Paypal, its quick its easy but its also expensive. However to get you going initially its not a bad option.

There have been lots of horror stories of them keeping money and investing it in the stockmarket etc.. but this is mostly to people being duped by emails pretending to be from PayPal and people entering in their information.

There are lots of these pretending to be from Visa and Master Card etc..

If you don't want to use Paypal you need to consider what cards you want to take, the most common are Visa, MasterCard, Amex. There are companies such as Worldpay, Secpay, Protex that will take card payments via the website and transfer the money into your bank account (Normally a current account). Most of these have API's and allow you to list a monthly financial statement.

Some of these require you to have your own Merchant account, so you would need a business account with your bank. However Worldpay will allow you to use them and they will transfer money into your account. However they will keep it for 6 weeks before giving it to you.

All of the options will normally charge you a percentage (%) of the transaction.

As a provider we have used many of the systems out there and written custom applications for customers. Most of the above systems will not require a secure certificate (SSL) as they will provide this for you. You could always take the card information and encrypt it from the website and process from your office but this takes away the automation.


      Prev   Viewing FAQs 1 - 8 of 8    Next

Home | Services | Support | Downloads | News | Contact Us |
Web Hosting | Domain Names | Email | Webmail | Ticket Support | Renew Services |
Site Map | Related Links | Terms & Conditions
services subject to terms & conditions. Copyright 2005