Home > Archive > PERL Programming > March 2004 > Really stuck
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| auntie_biotic 2004-03-29, 4:31 pm |
| Sorry if I am posting in the wrong place. I dont wish to upset anyone here.
I am trying to customise a perl script for a message board for my site.
Could someone please explain the following to be in english and give example
if possible. Thanks
"
$basedir = "/path/to/wwwboard";
This variable should contain the absolute system path to your
wwwboard directory. So if you keep all of your files in
/home/yourname/public_html and you make a directory under there
called 'wwwboard', then $basedir would be set to:
/home/yourname/public_html/wwwboard.
$baseurl = "http://your.host.xxx/wwwboard";
This is the base URL to the directory where wwwboard is kept. So
staying with the example above, if your main directory is called
by: http://your.host.xxx/~yourname/, the $baseurl would be set to:
http://your.host.xxx/~yourname/wwwboard/.
$cgi_url = "http://your.host.xxx/cgi-bin/wwwboard.pl";
This is the URL that points to wwwboard.pl. This will be used in
followup form responses, so this must be correct.
"
--
auntie_biotic
http://www.tbandu.co.uk
| |
| Gunnar Hjalmarsson 2004-03-29, 5:31 pm |
| auntie_biotic wrote:
> Sorry if I am posting in the wrong place.
Actually you are, but no problem.
If you don't know how to set those variables, I would advise you to
ask your web hosting provider.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
| |
| Matt Garrish 2004-03-29, 7:34 pm |
|
"auntie_biotic" <auntie_biotic@tbandu.co.uk> wrote in message
news:c4a10r$epo$2@news6.svr.pol.co.uk...
> Sorry if I am posting in the wrong place. I dont wish to upset anyone
here.
> I am trying to customise a perl script for a message board for my site.
> Could someone please explain the following to be in english and give
example
> if possible. Thanks
>
> "
> $basedir = "/path/to/wwwboard";
> This variable should contain the absolute system path to your
> wwwboard directory. So if you keep all of your files in
> /home/yourname/public_html and you make a directory under there
> called 'wwwboard', then $basedir would be set to:
> /home/yourname/public_html/wwwboard.
>
All I see are examples and explanations. Mind being a little more explicit
about what you don't understand?
If you want someone to tell you what the full path to your directory is,
you're going to have to check your Web host's site or give their tech
support a call (you could find this information using Perl, but I suspect
that would just make things harder on you).
Matt
|
|
|
|
|