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/msgboar d";
2. If this were the folder where the data files will be kept on the server...
/D/Wholesale/richschool.co m/htdocs/c lass/music /DragonFol der/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.c om/htdocs/ class/musi c/DragonFo lder/Paren t";
$DATA_DIR = "/class/music/Dragonfolder /Parent";
$DATA_DIR = "/music/Dragonfolder/Paren t";
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/msgboar d";
that will get my new message board script to actually find and write to the data files?
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/msgboar
2. If this were the folder where the data files will be kept on the server...
/D/Wholesale/richschool.co
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.c
$DATA_DIR = "/class/music/Dragonfolder
$DATA_DIR = "/music/Dragonfolder/Paren
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/msgboar
that will get my new message board script to actually find and write to the data files?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
anytime, gugis! :)
ASKER
Thanks-a-mill :)