PDA

View Full Version : Base Directory


Reid_Iford
11-25-01, 01:00 AM
Flush from my recent successes with my message board and chat room, I was getting quite cocky.

However, in attempting to install an e-card script, I fear I have been knocked off my pedastel.

I think the problem is that I have not set the $BASEDIR correctly.

Here's what the readme file says:

BASEDIR is the unix directory that your greeting cards will be stored in.

And here's what I came up with. How SHOULD this read?

$BASEDIR="url/www/cards";

The readme says this is different than the url, which starts with htt...

How do you show the BASDIR in a cgi script? As always, I have tried like crazy to solve this, and read the faqs, before asking.

Thanks!

hotrats
11-25-01, 01:53 AM
They probably want the server path. Look at the email you got from PowWeb when they set up your account. There is a piece near the bottom of the mail concerning "Information for Script Users". It shows you the "server paths" to your directories.

Reid_Iford
11-25-01, 03:27 AM
Thanks, HotRats!

I'm gonna check that right now! I feel like such a "newby!" with this cgi stuff, but it's sure fun and rewarding when it suddenly starts working!

Reid_Iford
11-25-01, 03:57 AM
Thank you, Hot Rats! Good thing I save all that stuff. I fear when I received that email I had no clue what the section "Information for script users" was talking about. It's now a goldmine!

Thank you for taking time to read my post and for providing me with the information I needed!

And I loved your "Get Smart" essay! That stupid cone of silence used to drive me crazy when I was a kid! That was my favorite running gag on the show -- well, right after "would you believe!" and "sorry about that, Chief."