PHP Newsletter

Join now and receive weekly updates pertianing to the world of PHP.

Polls

What do you think about the new PHPMine Design?
Awesome
Not Bad
Sucks

PHP Gigs By City

PHP Jobs By Topic

Advertisements

How do I implement a php photoblog package?

Asked 2008-05-22 18:55:25 by eric22vhs

Im building a site for someone to post their vacation pictures and have their friends leave comments. I don't know anything about php but I was told that by using a preset "package" I could do this without needing to write much php myself.

I found a free photoblog package and its directions for setting it up were:
1) Download and unzip phpblogger.zip
2) Upload contents of the "install" folder into some directory
3) Set the permissions on that directory (chmod 0777)
4) Go to http://www.yoursite.com/directory_where_you_installed_phpblogger/admin/
5) Follow the online instructions to complete the install

I downloaded and unzipped it, and placed it in a file on my desktop that I'm going to use to work on the site locally, but i'm not sure if that's considered "uploading it to a directory".

The second thing I don't understand is how I set the permissions on that directory (chmod 0777)

Anwered 2008-05-22 19:14:38 by Eric Y

"uploading it to a directory" simply means to put it in a folder on your web server. If you use an FTP program to transfer your files to your web server, most FTP programs will allow you to right click the folder, select properties and set your permissions accordingly.

How to understand CHMOD. 0777 means you are giving all permissions to everyone, the administrator, the group users on the server, and normal users, in that exact order. 7 means that a user can read/write/execute. There are different levels. check out the link below, it has good info on CHMOD.

Eric

Questions and answers provided by the Yahoo Answers Community.