Link to home
Start Free TrialLog in
Avatar of gugis
gugis

asked on

very SIMPLE " $data_dir " question ... but... I'M GIVIN' AWAY POINTS ANYWAY!!!

I'm setting up a simple midmart message board...

here is the path from the server where the freakin' data files are stored... but for the LIFE of me, I can't figure out how to type the $Data Dir line !! (GRRR)

OK... here's the question... (in plainer English...lol)

(I'm using ficticious folder names so don't actually try to navigate to the urls...lol)

1. This is what the script wants me to customize...

"  # Defines the path to the directory on the server that should be used # as the folder to save data files. No trailing slash.
$DATA_DIR = "/home/midmart/web/msgboard";

2.  If this were the folder where the data files will be kept on the server...

/D/Wholesale/richschool.com/htdocs/class/music/DragonFolder/Parent

3. the URL to that folder would be
http://www.richschool.com/class/music/Dragonfolder/Parent

4.  I've tried the following combinations...

$DATA_DIR = "/D/Wholesale/richschool.com/htdocs/class/music/DragonFolder/Parent";
$DATA_DIR = "/class/music/Dragonfolder/Parent";
$DATA_DIR = "/music/Dragonfolder/Parent";

The message board will NOT post whatever message you submit.  It goes through the Post.cgi file fine and then takes you to a screen with two links:

-- Return to Main Menu (view.cgi)
-- Post another message (post.cgi)

But.. when you click "Return to Main Menu" you go back to a bulletin board, BUT NO message has been posted.

I hope this is understandable...

AGAIN.. the question is..

What do I plug into this line...
 
DATA_DIR = "/home/midmart/web/msgboard";

that will get my new message board script to actually find and write to the data files?

ASKER CERTIFIED SOLUTION
Avatar of pagemastah
pagemastah

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gugis
gugis

ASKER

Whoop.. THERE IT IS !!

Thanks-a-mill :)
anytime, gugis! :)