This may sound stupid.. -sigh-.. but..I have hardly any knowledge of .php.. So anywho, I downloaded Wak's Ask and Answer script.. Here are the instructions ->
Code:
Step 1: Upload all files to its own directory
Step 2: CHMOD this directory to 777
Step 3: Run setup.php in your browser, this script creates files for you and should
announce "Installation Complete!". This file will NOT
overwrite your current questions or templates. Configuration is the only
thing that will be reset.
Copy and paste the absolute path URL to somewhere
where you can get back to it, or simply leave the window open
Step 4: Run askme.php and test that everything works properly.
To answer a question, open answer.php in your browser
The secret key/password is: askme
Click on Configuration and immediately change your password.
Optional Steps:
Include script into your layout:
Now, to include the script to your layout or another webpage:
Place the following code at the very beginning of your page:
This is also where you will need to use your absolute
path
<?php
session_start();
// enter the absolute path to ask&answer directory here
$dir = "/path/to/ask&answer/directory/";
// ask and answer functions
include_once("{$dir}functions.php");
?>
Now place this code where you want the script to show up:
<?php include("{$dir}ask.php")?>
For an example of how your code should look, have a look at
the code within askme.php included with this script
Separating ask form from ask.php:
If you want to place the ask form in a separate file from ask.php, for
example in index.php
First open askform.php and read the instructions inside, bascially you need
to change the url that the form submits to, to your ask&answer_page.php
(eg: askme.php NOT ask.php)
Now place this code anywhere that you want the form to
be displayed. You will need to change the path to the askform.php file:
<?php include('path/to/askform.php')?>
If you use the above code, please remember to save that file with a .PHP
extension, If you don't do this, your script will not work.
I did as it said.. Made a new directory.. and uploaded ALL of the files in the .zip file. Now, what does CHMOD mean? I'm sorry if I sound impossible.. but I'm just so confused.. >_<
[EDIT] I just need someone to kind of walk me through the basics. ^^