How Do I determine the full path to a directory?

Question:

I have a script that is asking for the full path to a file. How do I determine this?

Answer:

Hi,

The full path would be:

/home/your_username/

plus the rest of the path in your ftp.

For example if it was in your

data

dir it would be :

/home/your_username/data/

if it was in :

some_dir1/sub_dir2/data

it would be :

/home/your_username/some_dir1/sub_dir2/data

Be sure to replace :

your_username

with your actual username

Also, keep in mind that all server paths are case-sensitive. Use all lowercase unless one of your directories has capital letters in it.

Why do I get blank form submissions?

Question:

Starting last week we have been receiving e-mails (maybe 5-10 a day) that the subject is “Form Submission”. However the email is blank. There is no From or other information in the email.

Where are these e-mails coming from? Are these generated from our website or somewhere else? Any guidance you can provide would be helpful.

Answer:

Hi,

I checked your site and it looks like you are using the popular formmail.pl script.

Usually these type of emails are generated by badly wrote web-robots (search engine indexers, etc.) that are indexing your site and submitting the blank forms.

Another likely possiblilty is that they are spam-bot attempts to use your form to send out spam. I checked out your script and it is the latest version so you should be safe. Older versions of formmail.pl had a bug that allowed spam sending so there are all kinds of spam-bots out searching for exploitable formmail.pl scripts to exploit.

Again if you are using version 1.92 or above you should be safe. If you are using anything older, you need to upgrade ASAP!

I am trying to delete a folder, but I keep getting the error “Can’t remove directory: Directory not empty”

By default, most ftp clients will not allow you to delete a folder unless it is empty. Most ftp clients do have an option that will allow you to “force remove” a directory though. If you cannot find this option, you will have to first delete the contents of the directory and then try deleting it again.

If you are using SSH, put -R in front of your rm command.

If you continue to experience problems, please submit a help desk request and specify the path to the directory you would like removed and support will remove it for you. Please put “delete directory” in the subject line of your request.

Can I change my username?

Unfortunately, it is not possible to change your username. Usernames are very deep rooted in the system and cannot be changed.

If it is absolutely necessary that you change the username associated with your account, you can open a new account (via our homepage), transfer your files, then cancel your current account. We can make any necessary billing adjustments to make sure you do not have over lapped payments in the process.

How can I change my primary domain?

You can change your primary domain via the ‘domain’ section of your control panel. Just click on the link that says ‘Click here to change your Primary Domain’.

Warning: When changing your primary domain name, you will lose all existing email accounts and subdomains. You will need to recreate all subdomains and email accounts on your new domain.

If you still want your current domain to work, you can “park” it via the domain section of your control panel. Just click on the link that says ‘Add a parked domain’.

Please remember your_username.phpwebhosting.com will always work. There is no need to park this domain.

Note: If you get the message “That is not a valid domain or the domain is already in use” when trying to change your primary domain, this most likely means the domain is already parked on your account. In order to make a domain your primary domain, you must first remove it as a parked domain. You can remove parked domains by clicking on the ‘List Parked Domains’ link then clicking ‘delete’ next to the domain you wish to remove.

I have created a mail account, now how do I use it?

To send/receive mail from your domain, you can either set-up a local mail program (running on your computer) or use one of our webmail programs at post.phpwebhosting.com.

The most popular local mail programs are either Outlook (for Windows) or Mail (for a Mac). Most computers come with one or the other pre-installed. Here is a quick tutorial for setting up Outlook –

http://www.phpwebhosting.com/help/nick/Outlook_Set_Up.htm

If you don’t have experience using a local mail program like Outlook, I would suggest starting with one of our webmail programs. They work similar to Yahoo or Hotmail where you simply connect to them via the internet.

To use of of our webmail programs, just go to post.phpwebhosting.com and select which mail program you would like to use (UebiMiau or Nural Storm). Once you select the program, you must enter the name of the mailbox you are trying to access, the password assigned to that mail account, and your domain name. You will then get a web interface with options for sending and receiving mail.

Please see one of our other tutorials for detailed information on using our mail system.

I’m trying to delete files created via a php application, but the files are owned by user ‘nobody’. How can I delete or modify these files?

If you run scripts through the mod_php module (the default) any files created by the scripts are owned by the system (user ‘nobody’). These files can only be deleted by your scripts (not by you through ftp). To fix, we must run a script that will chown or change owner of the files back to your username.

Please note: By default, our script will chown everything under your home directory. Some programs require some files/directories to be owned by the system and chowning these files to your username can break the application. If you know this to be true with your application, please tell us this and let us know which files/directories to manually chown.

Please put “chown request” in the subject line of your help desk request.

How do I cancel my account?

First, is there a reason why you are leaving us? If it is due to problems related to our service, please let us know and give us a chance to make it right! Our customer service and help desk representatives are here to make you happy. Most likely we will be able to solve the problem to your satisfaction and there will be no need to cancel your account. Remember, our number one goal is your satisfaction!

If you still wish to cancel your account, you can do so via the billing section of your control panel.

We hate to see you go. 🙁