|
|
Installation guide for NEWBIES
This guide is intended for those who doesn't know anything about php. If you are a little experienced, I don't think it will be useful for you.
I am using Linux (KDE), but it's not different from Windows for our work. I will proceed step by step:
- First of all, You have to know that CcMail (like any other php script) can't work without a server! So, if you want it to count a page relying in your own PC, you have to install a web server (like Apache)and php.
Otherwise, if you have a site in hosting and you simply want to count the pages of your site, you don't have to worry about that.
- Make sure that pages in which you want to include the Subscription form have .php extension! You don't have to worry about page contents: nothing will change. If you don't want to do so, you can use the default Subscription page (
ccmail/index.php): it is easier, and everything will work good. To view a page with .php extension, you can 1)drag it in you preferred browser, or 2)install a web server, put that page in the right directory (normally www/), and view it at http://localhost/page_name.php, that is a lot better. If you have a site in hosting, you have only to change pages extension (and update hyperlinks). Everything will work like before.
- If the previous steps are correct, extract the file you have downloaded to a folder. As you can see, there is a folder named
ccmail. First of all, you have to edit config.php with your username/password. You can add more than one user. Then, you have to upload ccmail folder to your web server.
If you experience some problems, like permissions denying, try to chmod EVERYTHING inside data/ directory, including the folder itself, to 775, or 777. If you have a site in hosting, open your preferred ftp manager and drag the folder into the main directory of your site, that is the same directory of your index.php file.
- Add the following line to any page in which you want to display the Subscription form:
<?php include "ccmail/include.php";?>
You can see an example in ccmail/index.php. If the Subscription form is too big for you pages, or you would like a more compact form, you can put in your pages a simple HTML form that redirects your users to the complete one:
|
<form method="get" action="ccmail/index.php">
<b>Insert Email Address:</b><br>
<input name="address" size="15">
<input type="submit" value="Go">
|
Here's how the complete form and the reduced one, respectively, look like:
I assumed that ccmail folder is in the same directory of that pages. If not, edit the previous lines with the right path.
- If you open
www.yoursite.com/ccmail/admin.php with your browser, you will be able to manage users, create groups, send mails and so on.
If you have problems, you can ask me by signing CcCounter guestbook.
|
|