Support - FAQ
This section contains answers to many of the questions we are asked about our hosting facilities.
If your question remains unanswered after reading this section please contact us.
There is new page available at www.streaknet.co.uk/pc_config.php
which gives advice on configuring your computer for Streaknet.
1. How do I upload to my site?
2. How do I get a mysql database set up?
3. How do I change my password?
4. How do I add a user to my account?
5. Whats the location of perl?
6. Whats the location of sendmail?
7. How do I use PHP to send email from a form?
8. My perl script won't execute, why not?
9. How do I access my pages securely?
10. How do I use folders in IMAP/webmail?
11. How about Coldfusion or ASP support?
1. How do I upload to my site?
To upload to your webspace you will need an ftp client such as WS FTP, Cute FTP,
FTP Voyager or one of many others. Alternatively you can use the built in FTP
capability of Internet Explorer.
You will initially be placed in your home directory. This is where you can keep
your personal files which will not be visible on the Internet.
To publish your pages you will need to go up 2 directory levels (the method for
acheiving this is dependant upon your ftp client) and then go into the 'web' directory.
Be careful to ensure you have risen the 2 directory levels before entering the 'web'
directory. If you think you have uploaded correctly but you new pages are not visible
by browsing to your site, try entering the url 'www.yoursite.co.uk/~yourusername' where
'yoursite.co.uk' is the name of your website, and 'yourusername' is the username
you chose/were allocated.
If your pages are visible here it means that you did not rise the 2 directory levels.
The url to use in Internet Explorer is 'ftp://www.yoursite.co.uk/../../web'.
2. How do I get a mysql database set up?
You will automatically be given one mySQL database when your hosting account
is created. The username and password for this datbase will be the same as your
FTP username and password.
If you need another database, just use the contact form or send an email to:
mysql@streaknet.info and we'll gladly create another database for you.
3. How do I change my password?
To change your password, you should go to 'admin.streaknet.co.uk' and log in with
your username and current password.
If you believe that someone else may be using your username and password please contact
us immidiately and we will take preventative measures.
Please note, admin.streaknet.co.uk is not yet active. Please use
www.yoursite.com/personal until further notice.
4. How do I add a user to my account?
To add another user to your account, you should go to 'admin.streaknet.co.uk' and log in with
your username and current password. You will then be presented with the 'Add User' option.
Please note, admin.streaknet.co.uk is not yet active. Please use
www.yoursite.com/siteadmin until further notice.
5. Whats the location of perl?
Perl can be found at '/usr/bin/perl'
You should use the line '#!/usr/bin/perl' as your shebang.
6. Whats the location of sendmail?
Sendmail can be found at '/usr/sbin/sendmail'
You may want to consider using the '-t' flag to ensure all intended recipients
are scanned for.
7. How do I use PHP to send email from a form?
Sending mail using PHP is very simple.
Have your form use 'post' method, action to your php script.
You php script should contain the 'mail()' command, which works in the
following format:
mail("user@domain.com","Subject","Body of message","From: user@domain.com");
Where the first 'user@domain.com' is the email address of the recipient (
note, this should NEVER be a user input variable, as it leaves the system
wide open to spammers. Any script found in this state will cause its owner to have
PHP priveliges removed.), 'Subject' can be a user variable obtained from the HTML
form, 'Body of message' is the message content and should be a user variable,
'From: user@domain.com' should also be a user variable.
An example HTML form:
<form action=mail.php method=post>
<input type=text name=subject>
<input type=text name=from>
<textarea name=subject rows=6 cols=5></textarea>
<input type=submit>
</form>
And an example corresponding PHP script:
mail("user@domain.com","$subject","$body","From: $from");
NOTE: We now perform a nightly scan of pages containing forms, if we find
a form which is capable of posting an email address to a script (ie. the email address
isn't hard coded into the script) we will remove the form & the script, and suspend the
user account. This action is neccessary in order to prevent mail relaying.
8. My perl script won't execute, why not?
This could be for one of several reasons. The mostly likely cause
is a premissions error. Always make sure your script is set to 'chmod 755',
most FTP clients have the facility to set permissions.
Another possibility is a syntax error. It can be frustrating not being
able to see what is happening but instead just receiving an error. Check your
syntax very carefully as a misplaced semicolon or comma can often cause this
behaviour. If you are still unable to get your script working, get in touch
and we'll take a look.
9. How do I access my pages securely?
To access your site using our 128bit encrypted secure server use the following
URL:
https://www.secure128.net/secure/www.yoursite.com
10. How do I use folders in IMAP/webmail?
You can create mail folders for you IMAP/Webmail using either Outlook Express etc
or by using the interface in Webmail.
Either way, you will need to subscribe to the new folders in the application you
didn't use to create the folders.
For Example:
You create a new folder called 'friends' using Outlook Express; in order for this folder
to be usable under the Webmail interface, you need to (firstly log in to webmail, then)
click 'folders', select the folder 'friends' from the list, and click 'subscribe'.
The same principle applies if you create the folders in Webmail and wish to see them in
Outlook Express.
11. How about Coldfusion or ASP support?
Due to the relatively high cost of licensing for Coldfusion and ASP, and because demand
for them is low, we Do Not currently support these scripts.
We find that PHP and PERL/CGI are faster, less resource hungry and generally more popular.
|