|
|
 |
Re: FN-FORUM: server paths
date posted 11th November 2005 14:20
Hello Tom and all those who responded to my question,
Please accept my most sincere apologies, and gratitude for your help, and
failing to acknowledge it as I should have done...
DG)----- Original Message -----
From: "GR33DY" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, November 11, 2005 2:28 PM
Subject: Re: FN-FORUM: server paths
>
> Don't mention it...oh, you didn't ;)
>
> Tom
>
> [EMAIL REMOVED] wrote:
>
> >Hello Kathy & Nathan,
> >
> >Thank you both for your help. The reason I asked is, I have discovered
the
> >only way to build my own sites search facility using php is with a
> >programme.
> >
> >This entails using about six or seven scripts, of which the main one is
> >config.php. This contains all the relevant MySQL table names,
> >connection_scripts etc. Other scripts for searching and showing results
> >including placing properties on hold so if you come back, only new
> >properties are shown. The latter could be done using cookies, but that
may
> >not work as many turn cookies off.
> >
> >My hosting company wont allow: php-nook, php-smarty or any other progs
like
> >that to run on their server.
> >
> >Anyway I want to run php scripts from my cgi bin.[not allowed] I don't
have
> >[nor can I] have a folder named htdocs [unless I add this to each
address]
> >so the structure is:
> >
> >folder public ¦folder graphics¦folder include¦¦folder php scripts¦folder
> >members¦folder chat¦¦¦¦¦¦¦¦
> >
> >Where ¦ denotes a folder within a folder.. So in the end the base folder
is
> >actually 7 deep away from the folder public, which is equal to htdocs,
which
> >is on the same level as cgi_bin and house graphics..
> >
> >Now I have to take the address from chat back to public, i.e. up 7 levels
of
> >folders. I also need to be able to enter these addresses in my config.php
> >script, house_graphics and public.html....
> >
> >DG)
> >
> >
> >
> >----- Original Message -----
> >From: "Nathan" [EMAIL REMOVED]
> >To: [EMAIL REMOVED]
> >Sent: Friday, November 11, 2005 1:31 PM
> >Subject: Re: FN-FORUM: server paths
> >
> >
> >
> >
> [EMAIL REMOVED] wrote:
> >>
> >>
> >>>Hello,
> >>>
> >>>Can anyone help me with this problem. I'm trying to come to terms with
> >>>
> >>>
> >paths
> >
> >
> >>>on my hosting companies server. So if I have:
> >>>
> >>>folder=main same level cgi-bin same level folder aa
> >>>under this folder=graphics
> >>>under this folder=a
> >>>so on
> >>>What is the path from the most base folder to cgi-bin and the reverse.
> >>>
> >>>
> >or
> >
> >
> >>>from folder aa to cgi bin?
> >>>
> >>>TIA
> >>>
> >>>Have goolged asked 'help paths on server', 'how do you set path on
> >>>
> >>>
> >server',
> >
> >
> >>>setting path to folder on server'. None of which returned any useful
> >>>information...
> >>>
> >>>DG)
> >>>
> >>>
> >>Firstly I'm assuming we are talking a Linux/Unix server here (if it is
> >>windows then change all forward slashes to back slashes.
> >>
> >>I'm having some trouble understanding the layout but from what you have
> >>said I'm gussing its:
> >>
> >>main/
> >>cgi-bin/
> >>aa/graphics/
> >>aa/graphics/a/
> >>
> >>
> >>The bit I'm guessing you're missing is:
> >>../ which is the parent directory of the one you are in.
> >>
> >>so if you are in the aa/ directory then the relative path to the cgi-bin
> >>directory is:
> >>../cgi-bin/
> >>
> >>if you're in the aa/graphics/ directory then its:
> >>../../cgi-bin/
> >>
> >>and if you are in the aa/grahics/a/ directory then its:
> >>../../../cgi-bin/
> >>
> >>Hope that sorts it out.
> >>
> >>Nathan
> >>
> >>--
> >>Freelancers, contractors earn more with Prosperity4
> >>Call 0870 870 4414 or visit www.prosperity4.com
> >>and benefit from Inland Revenue approved expenses today.
> >>
> >>To advertise here: http://www.freelancers.net/advertising.html
> >>
> >>
> >>
> >>
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|