View Single Post
Old 2012-09-29, 08:15 AM   #11
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
PHP is not a language I know much about (I use Perl as it runs faster, so I never really learnt more than the most basic PHP) however WRT "permissions":

Quote:
Originally Posted by tadpole View Post
Set permissions on your ROOT(public_html) directory to "0777"
Umm, are you sure you need this script. I'd never set any folder to 777, this is basically telling your server "let any asshole do anything they like in this folder". A great gift for hackers!

Quote:
Originally Posted by tadpole View Post
I do not have a public_html file, so I made one.
I don't use the same host as you. However for every host I have used (it took 4 before I found the one I now use) you don't need to do this. Simply change the permissions on the directory.

This varies as to what FTP client you use (I'll say further down why I'm assuming it won't be Core FTP). On the FTP clients I have used you select the directory folder, then select "change permissions" either from a menu, from a button on the software window, or by right clicking on the directory name - if you don't have the instruction file for your FTP client, simply try all these and look for an option that says "change permissions" or "set permissions" or similar.

Once you have found this you may be lucky and your FTP client may simply allow you to set it to 777, but it may be called something else. It may say "allow all", or you may have to set three different things, which will be labelled; owner, group, and other to 7 (which is basically what 777 means "owner=7, group=7, other=7), or, if you are really unlucky, each of owner, group, and other may have an option of "read, write, and execute for each of owner, group, and other, all 9 of which you will have to set to "allow" or "yes" or "OK" or whatever terminology your FTP client uses. Sorry I am not being very clear on this part, but it depends on which FTP client you use. So if you cannot see how to set permissions to 777, you will have to read the help file on your FTP client, to see how that program expects you to do it.

Quote:
Originally Posted by tadpole View Post
Go Daddy
Whoa, change hosting. For a start, do a search on this board (or any board) for GoDaddy top see why they are shit. Secondly, unless they have changed policy, if you do anything vaguely adult and they find out, they will close down your site and lock you out of your own domain.

Quote:
Originally Posted by tadpole View Post
when I checked my FTP for info on setting permissions, it had "comming soon" written under it.
Then it is no good, change it. If it cannot change permissions then choosing it to run a website is like choosing a fork to eat soup. It is the wrong tool for the job, you cannot do what you need to do with it.

Quote:
Originally Posted by tadpole View Post
they just say the file is viewable to the public.
This basically means that surfers can "see" the page but cannot "use" it. Which basically means "any script will NOT work"

Sorry I'm being more negative than helpful, but if I am reading your post correctly your problem is not that you do not understand how to use scripts, but that you don't have the right tools to use them. So any attempt you make will fail. This is not only bad because it means the site won't work, but because it will confuse you when you do the right thing and everything fails, you will probably assume the fault is with your knowledge and give up. So the first two things you need to do are:

1) Get a FTP client (FTP software) that can change permissions.
2) Get a proper host, NOT GoDaddy.
ecchi is offline   Reply With Quote